Fix docker arm builds

This commit is contained in:
n8225
2019-02-15 23:34:16 -06:00
parent ff9a0c7e55
commit c5ac36c886
3 changed files with 21 additions and 11 deletions

4
hooks/pre_build Normal file
View File

@@ -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