fix: specifiy platform in docker build command (#4897)
Automatically submitted.
This commit is contained in:
parent
4f55502c9d
commit
4e80ac5b28
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue