From 71195c81c0719877f5dc313386cc6d36c1c182fa Mon Sep 17 00:00:00 2001 From: WaveHack Date: Mon, 29 Aug 2022 21:19:40 +0200 Subject: [PATCH] Use host network when building our custom zip image See https://github.com/gliderlabs/docker-alpine/issues/334#issuecomment-461788017 --- bin/backup-volume | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/backup-volume b/bin/backup-volume index 0abae9e..396919f 100755 --- a/bin/backup-volume +++ b/bin/backup-volume @@ -46,7 +46,7 @@ TMP_FILE="/tmp/$ZIP_FILENAME" touch "$TMP_FILE" # Create with current user ownership -docker build -t wavehack:zip /root/intranet/.docker/zip +docker build -t wavehack:zip /root/intranet/.docker/zip --network=host docker run \ --rm \