From c626b988a690238199198a77fef529bac405d7b3 Mon Sep 17 00:00:00 2001 From: Dreamacro <305009791@qq.com> Date: Thu, 30 Jan 2020 17:25:55 +0800 Subject: [PATCH] Fix: add docker hub pre build --- hooks/pre_build | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 hooks/pre_build diff --git a/hooks/pre_build b/hooks/pre_build new file mode 100644 index 00000000..b7cf923d --- /dev/null +++ b/hooks/pre_build @@ -0,0 +1,4 @@ +#!/bin/bash +# Register qemu-*-static for all supported processors except the +# current one, but also remove all registered binfmt_misc before +docker run --rm --privileged multiarch/qemu-user-static:register --reset --credential yes