squakez commented on code in PR #3820: URL: https://github.com/apache/camel-k/pull/3820#discussion_r1024879790
########## script/Makefile: ########## @@ -408,9 +408,11 @@ images: build kamel-overlay maven-overlay bundle-kamelets ifneq (,$(findstring SNAPSHOT,$(RUNTIME_VERSION))) ./script/package_maven_artifacts.sh -s "$(STAGING_RUNTIME_REPO)" -d "$(CAMEL_K_RUNTIME_DIR)" $(RUNTIME_VERSION) endif - @echo "####### Building Camel K operator container image..." + @echo "####### Building Camel K operator container image for multi architectures..." mkdir -p build/_maven_output - docker build -t $(CUSTOM_IMAGE):$(CUSTOM_VERSION) -f build/Dockerfile . + docker buildx rm --all-inactive --force + docker buildx create --name builder --use + docker buildx build --platform=linux/amd64,linux/arm64 -t $(CUSTOM_IMAGE):$(CUSTOM_VERSION) -f build/Dockerfile . Review Comment: Probably we should have a parameter for the platform so that is customizable by the end used -- 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