mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-12-22 08:24:25 +01:00
WIP: Support multi-platform amd64, arm64 host images
This commit is contained in:
parent
55d275535c
commit
ba27b1fc51
3
Makefile
3
Makefile
@ -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) \
|
||||
|
Loading…
Reference in New Issue
Block a user