This is an automated email from the ASF dual-hosted git repository.
aw pushed a commit to branch YETUS-1138
in repository https://gitbox.apache.org/repos/asf/yetus.git
The following commit(s) were added to refs/heads/YETUS-1138 by this push:
new 33b38d4 fixup! YETUS-1138. Better support for multiple architectures
33b38d4 is described below
commit 33b38d4f1876d92632cdd983235fe9254ece1e2e
Author: Allen Wittenauer <[email protected]>
AuthorDate: Fri Nov 12 20:24:19 2021 -0800
fixup! YETUS-1138. Better support for multiple architectures
---
hooks/build | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/hooks/build b/hooks/build
index 75b2050..069be3d 100755
--- a/hooks/build
+++ b/hooks/build
@@ -45,7 +45,9 @@ if [[ -z "${DOCKER_REPO}" ]]; then
fi
# enable multi-platform
-docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
+docker run --rm --privileged tonistiigi/binfmt:latest
+#docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
+docker run --rm --privileged tonistiigi/binfmt:latest --install all
docker buildx create --name multiarch --driver docker-container --use
docker buildx inspect --bootstrap