robertonav20 commented on issue #1238: URL: https://github.com/apache/camel-k/issues/1238#issuecomment-1128123952
Hi, i have an update with this tasks, below the description for each point> - Use a multi-architecture default Java base image > I use the graalvm base image in order to use for amd64/arm64 like this `FROM --platform=$BUILDPLATFORM ghcr.io/graalvm/graalvm-ce:ol8-java11-22.1.0 ` I thinked to use quarkus-mandrel-base-image for arm64 but isn't available for now (https://github.com/quarkusio/quarkus-images/commit/21e25a3c3ae3e3f4a4bd02b1e76f6051c31729c0) - Build and publish multi-architecture images: BuildKit could be a good candidate to ease the task of building images for all target architectures, as it automatically picks the right base image and creates the multi-architecture manifest > I modified the Makefile to use BuildKit with correct platform parameter in base of host's architecture ` docker buildx rm --all-inactive --force docker buildx create --append --name builder docker buildx build --platform=$(IMAGE_TARGET_PLATFORM) -t $(CUSTOM_IMAGE):$(CUSTOM_VERSION) -f build/Dockerfile . ` For the integration-kit image, I cannot find a solution to build and push a working image because there are a problem dependency (read the previous comment). So, for the first part can i submit pr? -- 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 For queries about this service, please contact Infrastructure at: us...@infra.apache.org