-
Notifications
You must be signed in to change notification settings - Fork 350
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
Added support for multi-arch building of Operator image #3855
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for asking this naive question, as I'm not the expert on this part of code.
Why do we need to also make make images
multi-arch even though we already have make images-arch
which obviously builds images for multi-arch?
https://camel.apache.org/camel-k/next/configuration/multi-architecture.html
I'm sure I'm missing something important but please tell me so that I can understand.
A couple of reasons! First of all, because 'it is the way'. Users expect dockerimages to be multi-arch and not ponder about what arch their system/cluster is on. Even the upstream containers like Second, because it allows you to think about the pipeline and not about specific arch builds. This also means that this multi-arch image would get pushed to dockerhub, 'business as usual'. Again, it will 'just work', for devs and for users. Third: the multi-arch build depends on graalvm instead of quarkus ( Line 16 in 3be0ab8
My suggestion would be to remove the 'images-arch' after this PR. It was a good way to get all the plumbing in place, but with official docker support for multi-arch and also upstream support from quarkus, we don't need that 'fork in the road' anymore. |
One test failed, due to:
I'm pretty sure that's a bug in that test with some escaping gone awry. |
FYI #3804 is related to this. The Camel K images stopped working for me because of the multi-arch changes made before. For me the wrong kamel CLI binary has been added to the image on MacOS aarch64. |
don't get me wrong this is not related to changes in this PR in particular but to multi-arch build in general |
Yep, quite possible. I can check out the Camel CLI build (this is the Operator) after this! Would love to help out over there. Edit: I see you already did that! Do we have collissions? If not it sounds like these two PRs together are really helpful for ARM64 users. |
This PR has been automatically marked as stale due to 90 days of inactivity. |
Adds multi-arch support in the Camel-K Operator docker image.
ubi-quarkus-mandrel-builder-image
base instead of theubi-quarkus-mandrel
oneFixes #1238 ; This should allow the Operator image to run natively on Apple Sillicon and other arm64 based processors.
Release Note