dashy/docker/hooks/pre_build

9 lines
310 B
Plaintext
Raw Permalink Normal View History

2021-08-15 10:38:37 +00:00
#!/bin/bash
# Used to setup QEMU to build arm images on amd64 processors.
2021-08-15 11:08:38 +00:00
# Source: https://git.io/J0ezo
2021-08-15 10:38:37 +00:00
# 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