aboutsummaryrefslogtreecommitdiff
path: root/hooks/pre_build
diff options
context:
space:
mode:
authorAndrew Rabert <6550543+nvllsvm@users.noreply.github.com>2019-02-16 01:34:37 -0500
committerGitHub <noreply@github.com>2019-02-16 01:34:37 -0500
commitc44f96b727c29b35eb64db295abe6ff3c86cb424 (patch)
tree7aaad4a28f5fbc6b4877b4002448ba0653e807d1 /hooks/pre_build
parentff9a0c7e55573df45ea4d29d258149c0496abc51 (diff)
parentc5ac36c88686e7384d31d870ba35f4bbe8c38fdb (diff)
Merge pull request #909 from n8225/dockerBuilds
Fix docker arm builds
Diffstat (limited to 'hooks/pre_build')
-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