mirror of
https://github.com/Lissy93/dashy.git
synced 2024-12-20 07:22:16 +03:00
8f1201b4d3
Uses QEMU to build the docker images on amd64 architectures, such that Docker Hub can build the images.
9 lines
369 B
Bash
9 lines
369 B
Bash
#!/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
|