summaryrefslogtreecommitdiff
path: root/docker/armhf/hooks/pre_build
diff options
context:
space:
mode:
Diffstat (limited to 'docker/armhf/hooks/pre_build')
-rw-r--r--docker/armhf/hooks/pre_build4
1 files changed, 4 insertions, 0 deletions
diff --git a/docker/armhf/hooks/pre_build b/docker/armhf/hooks/pre_build
new file mode 100644
index 00000000..a08c740b
--- /dev/null
+++ b/docker/armhf/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