christophd opened a new issue, #5238:
URL: https://github.com/apache/camel-k/issues/5238

   ### What happened?
   
   When Camel K is run on arm64 architecture the user needs to use a different 
base image for integrations (e.g. `--base-image=arm64v8/eclipse-temurin:17`).
   
   When the Camel K operator builds integration kit image (strategy=routine) 
for Integrations the build fails in the operator with Jib not being able to use 
this arm64 base image.
   
   A workaround is to use a a specific image digest on the base image (e.g. 
`--base-image=arm64v8/eclipse-temurin:17@sha256:321ac6af97a11d5aa5a580d1635ab6f945582b00eea1fe672f0cbb437b4293c8`).
 With this all Integration builds succeed as expected.
   
   ### Steps to reproduce
   
   1. Install Camel K on arm64 arch (`kamel install 
--operator-image=apache/camel-k:2.3.0-SNAPSHOT-arm64 
--base-image=arm64v8/eclipse-temurin:17`)
   2. Run an Integration and review build log output in operator logs - see the 
build failing
   
   ### Relevant log output
   
   ```shell
   
{"level":"error","ts":"2024-03-11T08:26:16Z","logger":"camel-k.maven.build","msg":"arm64v8/eclipse-temurin:17
 is a manifest list, but the list does not contain an image for 
architecture=amd64, os=linux. If your intention was to specify a platform for 
your image, see 
https://github.com/GoogleContainerTools/jib/blob/master/docs/faq.md#how-do-i-specify-a-platform-in-the-manifest-list-or-oci-index-of-a-base-image","stacktrace":"github.com/apache/camel-k/v2/pkg/util/log.Logger.Error\n\tgithub.com/apache/camel-k/v2/pkg/util/log/log.go:81\ngithub.com/apache/camel-k/v2/pkg/util/maven.normalizeLog\n\tgithub.com/apache/camel-k/v2/pkg/util/maven/maven_log.go:83\ngithub.com/apache/camel-k/v2/pkg/util/maven.MavenLogHandler\n\tgithub.com/apache/camel-k/v2/pkg/util/maven/maven_log.go:54\ngithub.com/apache/camel-k/v2/pkg/util.scan\n\tgithub.com/apache/camel-k/v2/pkg/util/command.go:76\ngithub.com/apache/camel-k/v2/pkg/util.RunAndLog.func1\n\tgithub.com/apache/camel-k/v2/pkg/util/command.go:55\ngo
 
lang.org/x/sync/errgroup.(*Group).Go.func1\n\tgolang.org/x/sync@v0.6.0/errgroup/errgroup.go:78"}
   ```
   
   ### Camel K version
   
   2.3.0-SNAPSHOT


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to