[ https://issues.apache.org/jira/browse/CAMEL-21613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17912895#comment-17912895 ]
Gaelle Fournier edited comment on CAMEL-21613 at 1/14/25 6:15 PM: ------------------------------------------------------------------ I saw this jib configuration as well. I am not sure it is only used by jib: when deploying with docker build strategy I had to make my infra multi-platform compatible (in my case using qemu) or else I ended up with this issue https://issues.apache.org/jira/browse/CAMEL-21464. My idea would be: local platform as default, if anyone want to change we can override by a trait or command parameter. This should configuration should multi-valued and any call to it should completly override the default behavior. That mean if the local platform default is amd64 and we configure by trait/command parameter arm64, we should only build for arm64. In CK we used it in the builder trait ([https://camel.apache.org/camel-k/2.5.x/traits/builder.html)] but since most of the image configuration is done with some parameter --image-xxxx it might be better to use --image-platform was (Author: JIRAUSER304516): I saw this jib configuration as well. I am not sure it is only used by jib: when deploying with docker build strategy I had to make my infra multi-platform compatible (in my case using qemu) or else I ended up with this issue https://issues.apache.org/jira/browse/CAMEL-21464. My idea would be: local platform as default, if anyone want to change we can override by a trait or command parameter. This should configuration should multi-valued and any call to it should completly override the default behavior. That mean if the local platform default is amd64 and we configure by trait/command parameter arm64, we should only build for arm64. In CK we used it in the builder trait ([https://camel.apache.org/camel-k/2.5.x/traits/builder.html)] but since most of the image configuration is done with some parameter `--image-xxxx` it might be better to use `--image-platform` > Camel-Jbang Kubernetes Plugin: allow to choose image platform options > --------------------------------------------------------------------- > > Key: CAMEL-21613 > URL: https://issues.apache.org/jira/browse/CAMEL-21613 > Project: Camel > Issue Type: Improvement > Components: camel-jbang > Reporter: Gaelle Fournier > Assignee: Thomas Diesler > Priority: Minor > > We should be able to configure for which architecture platform(s) we cant to > build the container. > > Currently we build the container image (with docker, JIB or podman) for both > linux/amd64 and linux/arm64. That mean we need the user to be able to do > multi-platform build. > While it is available out of the box for JIB (and maybe podman), for docker > it requires some specific tools like Qemu/buildx. We need to allow the user > to override the default configuration. -- This message was sent by Atlassian Jira (v8.20.10#820010)