From 588b38ca033fdeaa675b0fd55dbd2257bd082c85 Mon Sep 17 00:00:00 2001 From: Doro Wu Date: Wed, 20 Mar 2019 21:37:46 +0800 Subject: [PATCH] test: hooks --- 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 0000000..a08c740 --- /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