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 bb087f3 fixup! YETUS-1138. Better support for multiple architectures
bb087f3 is described below
commit bb087f3938390c8fe53a827d75c670692446e0d0
Author: Allen Wittenauer <[email protected]>
AuthorDate: Fri Nov 12 19:52:53 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 2cf2166..75b2050 100755
--- a/hooks/build
+++ b/hooks/build
@@ -45,7 +45,9 @@ if [[ -z "${DOCKER_REPO}" ]]; then
fi
# enable multi-platform
-docker buildx create --use
+docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
+docker buildx create --name multiarch --driver docker-container --use
+docker buildx inspect --bootstrap
# Build the -base image
docker buildx build --platform linux/amd64,linux/arm64 \