]> git.immae.eu Git - github/bastienwirtz/homer.git/blob - hooks/pre_build
Build multi-arch container with manifest
[github/bastienwirtz/homer.git] / hooks / pre_build
1 #!/bin/bash
2
3 # Update to docker-ee 18.x for manifests
4 apt-get -y update
5 apt-get -y --only-upgrade install docker-ee
6 # Register qemu-*-static for all supported processors except the
7 # current one, but also remove all registered binfmt_misc before
8 docker run --rm --privileged multiarch/qemu-user-static:register --reset