aboutsummaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
authorn8225 <nrew225@gmail.com>2019-02-15 23:34:16 -0600
committern8225 <nrew225@gmail.com>2019-02-15 23:34:16 -0600
commitc5ac36c88686e7384d31d870ba35f4bbe8c38fdb (patch)
tree7aaad4a28f5fbc6b4877b4002448ba0653e807d1 /hooks
parentff9a0c7e55573df45ea4d29d258149c0496abc51 (diff)
Fix docker arm builds
Diffstat (limited to 'hooks')
-rw-r--r--hooks/pre_build4
1 files changed, 4 insertions, 0 deletions
diff --git a/hooks/pre_build b/hooks/pre_build
new file mode 100644
index 000000000..a08c740b3
--- /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