Commit 4e80ac5b authored by Ernest Wong's avatar Ernest Wong Committed by GitHub

fix: specifiy platform in docker build command (#4897)

Automatically submitted.
parent 4f55502c
...@@ -66,7 +66,7 @@ ifeq ($(DOCKER),) ...@@ -66,7 +66,7 @@ ifeq ($(DOCKER),)
else else
docker version docker version
for arch in $(LINUX_ARCH); do \ for arch in $(LINUX_ARCH); do \
docker build -t $(DOCKER_IMAGE_NAME)-$${arch}:$(VERSION) build/docker/$${arch} && \ docker build --platform linux/$${arch} -t $(DOCKER_IMAGE_NAME)-$${arch}:$(VERSION) build/docker/$${arch} && \
docker tag $(DOCKER_IMAGE_NAME)-$${arch}:$(VERSION) $(DOCKER_IMAGE_NAME)-$${arch}:latest ;\ docker tag $(DOCKER_IMAGE_NAME)-$${arch}:$(VERSION) $(DOCKER_IMAGE_NAME)-$${arch}:latest ;\
done done
endif endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment