[ 
https://issues.apache.org/jira/browse/CAMEL-21613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17916046#comment-17916046
 ] 

Thomas Diesler commented on CAMEL-21613:
----------------------------------------

Property {{-Djkube.container-image.platforms=linux/amd64,linux/arm64}} takes no 
effect. Not in the pom, not on the cmd line.

Having this in the pom works ...

{code:xml}
    <from>eclipse-temurin:17</from>
    <platforms>
        <platform>linux/amd64</platform>
        <platform>linux/arm64</platform>
    </platforms>
{code}

Likely, that we never built multi-arch images

> 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)

Reply via email to