From 711ba9e81aa850e0b6e99963025e19d07d387075 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Mon, 5 Sep 2022 13:38:22 -0400 Subject: [PATCH] Create pre_build --- hooks/pre_build | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 hooks/pre_build diff --git a/hooks/pre_build b/hooks/pre_build new file mode 100644 index 0000000..0a94f7e --- /dev/null +++ b/hooks/pre_build @@ -0,0 +1,5 @@ +#!/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