From e8593b2dbe2adcba767f8a4ab014f7baccaf43f7 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Sun, 4 Sep 2022 17:38:32 -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