From abe6df52b500199ff4b379e0370427267a16992b Mon Sep 17 00:00:00 2001 From: Amir Zarrinkafsh Date: Fri, 8 May 2020 21:59:39 +1000 Subject: Build multi-arch container with manifest --- hooks/pre_build | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 hooks/pre_build (limited to 'hooks/pre_build') 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 @@ +#!/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 \ No newline at end of file -- cgit v1.2.3