Files
dashy-test/docker/hooks/pre_build
2024-05-02 07:42:34 +07:00

9 lines
310 B
Bash

#!/bin/bash
# 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
docker run --rm --privileged multiarch/qemu-user-static:register --reset