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; \