Fix: add docker hub pre build

This commit is contained in:
Dreamacro 2020-01-30 17:25:55 +08:00
parent 82c387e92b
commit c626b988a6

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 --credential yes