aboutsummaryrefslogtreecommitdiffhomepage
path: root/hooks/pre_build
diff options
context:
space:
mode:
authorAmir Zarrinkafsh <nightah@me.com>2020-05-08 21:59:39 +1000
committerAmir Zarrinkafsh <nightah@me.com>2020-05-08 21:59:39 +1000
commitabe6df52b500199ff4b379e0370427267a16992b (patch)
treefeb59617e4230c8de90e527581357d23a74c5dc4 /hooks/pre_build
parentb317857892921423479b713fb530f5d07d1f5d82 (diff)
downloadhomer-abe6df52b500199ff4b379e0370427267a16992b.tar.gz
homer-abe6df52b500199ff4b379e0370427267a16992b.tar.zst
homer-abe6df52b500199ff4b379e0370427267a16992b.zip
Build multi-arch container with manifest
Diffstat (limited to 'hooks/pre_build')
-rw-r--r--hooks/pre_build8
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
4apt-get -y update
5apt-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
8docker run --rm --privileged multiarch/qemu-user-static:register --reset \ No newline at end of file