diff options
author | Bastien Wirtz <bastien.wirtz@gmail.com> | 2020-05-19 09:13:15 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-19 09:13:15 -0700 |
commit | e6701f57ccbd61bf479635061339aeaf44b56116 (patch) | |
tree | edcfe3507d97e3fa3509c49cc4ed4ce1f6f2c7c4 /hooks/pre_build | |
parent | 55e0df5386b60935c3db568a94b70d4d6c0f0f49 (diff) | |
parent | abe6df52b500199ff4b379e0370427267a16992b (diff) | |
download | homer-e6701f57ccbd61bf479635061339aeaf44b56116.tar.gz homer-e6701f57ccbd61bf479635061339aeaf44b56116.tar.zst homer-e6701f57ccbd61bf479635061339aeaf44b56116.zip |
Merge pull request #49 from nightah/docker-multiarch-builds
Build multi-arch container with manifest
Diffstat (limited to 'hooks/pre_build')
-rw-r--r-- | hooks/pre_build | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/hooks/pre_build b/hooks/pre_build new file mode 100644 index 0000000..bc1b6fe --- /dev/null +++ b/hooks/pre_build | |||
@@ -0,0 +1,8 @@ | |||
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 \ No newline at end of file | ||