From 7cb3167dec64684c31e4dcb15c2cc283f0d9fafc Mon Sep 17 00:00:00 2001 From: andyzhangx Date: Mon, 19 Apr 2021 07:14:09 +0000 Subject: [PATCH] fix: remove arm64 build workaround --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile b/Makefile index f3fb74b96d8..e8bd56e2113 100644 --- a/Makefile +++ b/Makefile @@ -142,9 +142,7 @@ container-all: smb-windows docker buildx rm container-builder || true docker buildx create --use --name=container-builder # 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 + docker run --rm --privileged multiarch/qemu-user-static --reset -p yes for arch in $(ALL_ARCH.linux); do \ ARCH=$${arch} $(MAKE) smb; \ ARCH=$${arch} $(MAKE) container-linux; \