test: hooks

This commit is contained in:
Doro Wu 2019-03-20 21:37:46 +08:00
parent 10423e2ce4
commit 588b38ca03
No known key found for this signature in database
GPG key ID: 3F2E4F1C2D4A1AA4

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