dashy/docker/hooks/pre_build

9 lines
310 B
Plaintext
Raw Normal View History

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