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 89d0d39 fixup! YETUS-1138. Better support for multiple architectures
89d0d39 is described below
commit 89d0d39a5a93758104e7c803d8a7dc5303a6a768
Author: Allen Wittenauer <[email protected]>
AuthorDate: Fri Nov 12 20:43:15 2021 -0800
fixup! YETUS-1138. Better support for multiple architectures
---
hooks/build | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/hooks/build b/hooks/build
index dd54d44..c33acfa 100755
--- a/hooks/build
+++ b/hooks/build
@@ -45,13 +45,17 @@ if [[ -z "${DOCKER_REPO}" ]]; then
fi
# enable multi-platform
-docker run --rm --privileged tonistiigi/binfmt:latest
+#docker run --rm --privileged tonistiigi/binfmt:latest
#docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
-docker run --rm --privileged multiarch/qemu-user-static
-docker pull tonistiigi/binfmt
-docker run --rm --privileged tonistiigi/binfmt --uninstall qemu-*
-docker run --rm --privileged tonistiigi/binfmt --install all
-docker run --rm --privileged tonistiigi/binfmt:latest
+#docker run --rm --privileged multiarch/qemu-user-static
+#docker pull tonistiigi/binfmt
+#docker run --rm --privileged tonistiigi/binfmt --uninstall qemu-*
+#docker run --rm --privileged tonistiigi/binfmt --install all
+#docker run --rm --privileged tonistiigi/binfmt:latest
+
+docker pull multiarch/qemu-user-static
+docker run --rm --privileged multiarch/qemu-user-static:register --reset
+docker run --rm --privileged multiarch/qemu-user-static:register
docker buildx create --name multiarch --driver docker-container --use
docker buildx inspect --bootstrap