add docker hub arm build capability

This commit is contained in:
lawtancool
2020-03-25 21:00:04 -07:00
parent 68b33034f2
commit d2042eea06
6 changed files with 103 additions and 0 deletions

5
hooks/pre_build Normal file
View File

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