Skip to content
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

Multi Platform docker images #342

Closed
ska-ibees opened this issue Nov 18, 2020 · 3 comments
Closed

Multi Platform docker images #342

ska-ibees opened this issue Nov 18, 2020 · 3 comments

Comments

@ska-ibees
Copy link

ska-ibees commented Nov 18, 2020

Is there any plan to make doodba and other assocaited images compatible with other platforms like arm etc.
And meanwhile putting a note in the doc to specify this point. I have had hard time to implement doodba on AWS ARM and now it is even hard to maintain project on local dev (amd64 based) and production on arm64.

By the way, even Odoo's official image is only for amd64. Is there any limitations exist with arm based platform (missing packages etc.)? Just want to ensure that arm64 would not create any bottlenecks in long run.

image

@ska-ibees ska-ibees changed the title Multi latform docker images Multi Platform docker images Nov 18, 2020
@theangryangel
Copy link
Contributor

I'm not associated with Tecnativa, I'm just another user of Doodba, but I suspect that the official answer will be along these lines -

By the way, even Odoo's official image is only for amd64. Is there any limitations exist with arm based platform (missing packages etc.)? Just want to ensure that arm64 would not create any bottlenecks in long run.

Out of the box Odoo (the company) doesn't support anything other than x86 or x86_64, so if you ever need to go back to them to support as soon as they find out there will be a get out of jail free card for any support question they can't/don't want to answer. If I were attempting to run a company on Odoo, right now, that would be a big concern.

Doodba generally follows Odoo's recommendations for each version, so you'll see stuff like the Doodba 12.0 image using python 3.5, etc. still. I doubt you'll see Doodba officially support arm until Odoo does.

That all said, from a technical stand point, it's probably do-able if you don't mind restricting it to 14.0 and using newer versions of a few libraries;

@ska-ibees
Copy link
Author

Thanks for the insightful reply. Infact, I was conviced by the higher compute power vs copute cost of new generation of AWS ARM64 EC2 instances (Graviton2 processors). Thinking of Odoo being resource intensive, idea was to have compute optimized server.
However, as arm64 is relatively new comer in the market so it could be a potiential bottleneck in the long run. As you have rightly mentioned about wkhtmltopdf. Not all packages have embraced arm64 yet.

For this reason, I would prefer to avoid it for now.

Meanwhile, It would be better to have this mention on Doodba's doc.

@yajo
Copy link
Contributor

yajo commented Nov 23, 2020

wkhtmltopdf is such PITA that we cannot even have doodba based on alpine, so I wouldn't risk on ARM for the foreseeable future. Besides, Odoo is very resource intensive, and ARM can't compete in horsepower with x86_64 so far (it does on efficiency though) AFAIK.

So, for now this is a nope. However, if you want to open a PR that converts our images into multiarch ones, I wouldn't reject it personally, although support for those would be left for the community as we won't use it in production.

Closing, as there is nothing actionable to be done by our team on this regard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants