1
0
mirror of https://github.com/taigrr/homer synced 2025-01-18 04:53:12 -08:00

Build multi-arch container with manifest

This commit is contained in:
Amir Zarrinkafsh
2020-05-08 21:59:39 +10:00
parent b317857892
commit abe6df52b5
4 changed files with 45 additions and 0 deletions

8
hooks/pre_build Normal file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
# Update to docker-ee 18.x for manifests
apt-get -y update
apt-get -y --only-upgrade install docker-ee
# 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