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 b7b5680  fixup! YETUS-1138. Better support for multiple architectures
b7b5680 is described below

commit b7b5680bbcbd859a8f90425563ee3da13854f53b
Author: Allen Wittenauer <[email protected]>
AuthorDate: Fri Nov 12 21:09:04 2021 -0800

    fixup! YETUS-1138. Better support for multiple architectures
---
 hooks/build | 16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)

diff --git a/hooks/build b/hooks/build
index 9355a3c..308308a 100755
--- a/hooks/build
+++ b/hooks/build
@@ -45,17 +45,15 @@ if [[ -z "${DOCKER_REPO}" ]]; then
 fi
 
 # enable multi-platform
-#docker run --rm --privileged tonistiigi/binfmt:latest
+docker pull tonistiigi/binfmt
+docker run --rm --privileged tonistiigi/binfmt:latest
+docker run --rm --privileged tonistiigi/binfmt --uninstall qemu-*
+docker run --rm --privileged tonistiigi/binfmt --install arm64
+docker run --rm --privileged tonistiigi/binfmt:latest
+
+#docker pull multiarch/qemu-user-static
 #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 pull multiarch/qemu-user-static
-docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
-docker run --rm --privileged multiarch/qemu-user-static
 
 docker buildx create --name multiarch --driver docker-container --use
 docker buildx inspect --bootstrap

Reply via email to