-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can odoo image support arm? #349
Comments
Hey there, how is your journey so far? I would love to develop odoo on mac air m1 with 8gb of ram to see how it goes |
now I develop Odoo(12 and 13) with source install and change some version in requirement.txt Pillow to 8.1.0 and setting terminal (in my case using iTerm) "Open using Rosetta" if you wanna use docker it work too, install docker preview https://docs.docker.com/docker-for-mac/apple-m1/ hope this help |
Hi. I would just like to know if you got odoo working with the docker image on the M1 chip? I am a Odoo developer and use docker. I am considering of getting a M1 Macbook but only if this works in docker. |
Hello @brandon-blb
The Hope this help! |
@alxolivares Thank you. Cannot describe how much your feedback means to me. Ordering my M1 today :) @whileom Can you maybe explain what the |
@brandon-blb According to the documentation It was an unknown option to me but now I know. 👍 Kind regards |
Do you have any step to install odoo 12 with docker? i'm still confused and keep getting this error: Thank you. |
Hello @iqbalthea
Like a said before it's mandatory specify the Regards |
this works like magic! thank you! |
Worked for me after getting the same error: #349 (comment) |
@quiquemachado5 Try with |
the same |
@quiquemachado5 |
You can try to use my image: https://hub.docker.com/r/wbms/odoo14-multiarch Or build docker image on your Mac m1. Just change wkhtmltopdf to this one: https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.buster_arm64.deb |
I also have same problem when want to install Odoo on Raspberry pi. |
Already isn´t support on MacBooks M1, I solve this error using Parallels... I think we could use odoo in the M1 on 2022 |
@quiquemachado5 |
The above solutions did not do the trick for me on Raspberry Pi 4B. This machine is in theory capable to run Odoo just fine, since it's overclocked to 2 GHz. A quick and simple solution to the problem could be to build the image using the command |
I just wanted to highlight that |
very interesting, will check it out later on. now just tried to find another solution. |
You can actually build the image for |
For me, I replaced with
Checkout whkhtml releases. Here is the full Dockerfile for Odoo 13.0:
|
you could manage to make it work on Raspberry @bluemix ? |
what is the issue you have now? @Shahin-rmz |
@bluemix I just couldn't manage to deploy odoo on Raspberry long ago. so just forgot about it. |
No solution in this issue would resolve my container from not starting. docker container logs:
The only way that I could get Odoo to work on Raspberry Pi OS (64-bit) was via pr #399 . |
For anyone landing here with this issue, we're building https://github.com/iterativo-git/dockerdoo with arm64 and public images are available |
I'd personally really love to see some official Odoo |
Just change this line: Into these:
And build with docker buildx multiarch or just build on ARM or AMD. |
If you are getting following error message after you added code snippet provided by @leimantas :
you might also need to update the repository list before installing the # Install Wkhtmltopdf
RUN WKH_VERSION=$([ "$(uname -m)" = 'aarch64' ] && echo "arm64" || echo "amd64") \
&& curl -o wkhtmltox.deb -sSL https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.buster_${WKH_VERSION}.deb \
&& apt-get update \
&& apt-get install -y --no-install-recommends ./wkhtmltox.deb \
&& rm -rf /var/lib/apt/lists/* wkhtmltox.deb |
Hi, is possible install odoo16 in docker mac m1? |
Yes, you can build your after you do these changes. Or just can use this: https://hub.docker.com/r/wbms/odoo-16.0 |
Why is that not merged/fixed? |
Hi @ata-star and others, I have made a pull request to support ARM: #466 Thanks for your tests and feedbacks |
want to deploy on Oracle servers soon |
I tested on Oracle servers, works fine, can be used |
anyone has odoo 17 running using docker ? |
I was able to install odoo 17 on a raspberry pi 4, 4gb of ram. Here is how:
I would say that if it runs natively on a raspberry pi, it should also work on an m1 running natively on arm64 without needing an emulation. For those who like docker, the same script can be used to build an image on arm64 (pi4), just use a ubuntu image as a base and reuse the script to build the image. Cheers, |
@d-fence issue creator deleted their account. Can you close this issue. |
@odony issue creator deleted their account. Can you close this issue. |
@lathama it is quite crazy to see that the deleted account had so many contributions and the profile was built like he really wanted to contribute and all of a sudden the account is deleted. I suspect something is wrong with this account. |
I'm trying dev odoo with apple silicon
The text was updated successfully, but these errors were encountered: