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

commit 83341ba44715bf132ccf4da002dd5eaca782b45c
Author: Allen Wittenauer <[email protected]>
AuthorDate: Fri Nov 12 20:31:19 2021 -0800

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

diff --git a/hooks/build b/hooks/build
index 069be3d..dd54d44 100755
--- a/hooks/build
+++ b/hooks/build
@@ -47,7 +47,12 @@ fi
 # enable multi-platform
 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 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 buildx create --name multiarch --driver docker-container --use
 docker buildx inspect --bootstrap
 

Reply via email to