Skip to content

Commit

Permalink
WIP: Support multi-platform amd64, arm64 host images
Browse files Browse the repository at this point in the history
  • Loading branch information
thewtex committed Mar 26, 2024
1 parent 55d2755 commit ba27b1f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ $(GEN_IMAGE_DOCKERFILES) Dockerfile: %Dockerfile: %Dockerfile.in $(DOCKER_COMPOS
web-wasm: web-wasm/Dockerfile
mkdir -p $@/imagefiles && cp -r imagefiles $@/
cp -r test web-wasm/
$(DOCKER) build -t $(ORG)/web-wasm:$(TAG) \
$(DOCKER) buildx build -t $(ORG)/web-wasm:$(TAG) \
--platform linux/amd64,linux/arm64 \
-t $(ORG)/web-wasm:latest \
--build-arg IMAGE=$(ORG)/web-wasm \
--build-arg VERSION=$(TAG) \
Expand Down

0 comments on commit ba27b1f

Please sign in to comment.