From 6b527224c854100f4562e30d253a4f9970e096f5 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sun, 15 Aug 2021 12:08:38 +0100 Subject: [PATCH] :hook: Moves Docker hooks to subdir --- docker/hooks/pre_build | 2 +- hooks/pre_build | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) delete mode 100644 hooks/pre_build diff --git a/docker/hooks/pre_build b/docker/hooks/pre_build index b0621283..e5feacb7 100644 --- a/docker/hooks/pre_build +++ b/docker/hooks/pre_build @@ -1,7 +1,7 @@ #!/bin/bash -# Source: https://github.com/ckulka/docker-multi-arch-example/blob/master/hooks/pre_build # Used to setup QEMU to build arm images on amd64 processors. +# Source: https://git.io/J0ezo # Register qemu-*-static for all supported processors except the # current one, but also remove all registered binfmt_misc before diff --git a/hooks/pre_build b/hooks/pre_build deleted file mode 100644 index b0621283..00000000 --- a/hooks/pre_build +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -# Source: https://github.com/ckulka/docker-multi-arch-example/blob/master/hooks/pre_build -# Used to setup QEMU to build arm images on amd64 processors. - -# 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