🪝 Moves Docker hooks to subdir

This commit is contained in:
Alicia Sykes 2021-08-15 12:08:38 +01:00
parent 02459645c3
commit 6b527224c8
2 changed files with 1 additions and 9 deletions

View File

@ -1,7 +1,7 @@
#!/bin/bash
# Source: https://github.com/ckulka/docker-multi-arch-example/blob/master/hooks/pre_build
# Used to setup QEMU to build arm images on amd64 processors.
# Source: https://git.io/J0ezo
# Register qemu-*-static for all supported processors except the
# current one, but also remove all registered binfmt_misc before

View File

@ -1,8 +0,0 @@
#!/bin/bash
# Source: https://github.com/ckulka/docker-multi-arch-example/blob/master/hooks/pre_build
# Used to setup QEMU to build arm images on amd64 processors.
# 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