Skip to content

Commit

Permalink
Revert "cleanup: remove arm64 build workaround"
Browse files Browse the repository at this point in the history
  • Loading branch information
andyzhangx committed Dec 11, 2021
1 parent 63ed7d9 commit 19fb5b9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Expand Up @@ -189,6 +189,9 @@ container-all: azuredisk-windows
ifeq ($(CLOUD), AzureStackCloud)
docker run --privileged --name buildx_buildkit_container-builder0 -d --mount type=bind,src=/etc/ssl/certs,dst=/etc/ssl/certs moby/buildkit:latest || true
endif
# enable qemu for arm64 build
# https://github.com/docker/buildx/issues/464#issuecomment-741507760
docker run --privileged --rm tonistiigi/binfmt --uninstall qemu-aarch64
docker run --rm --privileged tonistiigi/binfmt --install all
for arch in $(ALL_ARCH.linux); do \
ARCH=$${arch} $(MAKE) azuredisk; \
Expand Down

0 comments on commit 19fb5b9

Please sign in to comment.