aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2020-06-21 15:53:22 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2020-06-21 15:53:22 -0700
commit95cc3171dbd9b051471a26d14c9f0ad07a2ce813 (patch)
treecf68ee02e0282436c5c58f974242def96bbe7d54
parentbin/build-incremental: add fast incremental build mode (diff)
downloadwww-95cc3171dbd9b051471a26d14c9f0ad07a2ce813.tar.gz
www-95cc3171dbd9b051471a26d14c9f0ad07a2ce813.tar.bz2
www-95cc3171dbd9b051471a26d14c9f0ad07a2ce813.zip
bin/docker-helper.inc: host network for building
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rw-r--r--bin/docker-helper.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/docker-helper.inc b/bin/docker-helper.inc
index a1bc41f..d119afd 100644
--- a/bin/docker-helper.inc
+++ b/bin/docker-helper.inc
@@ -11,6 +11,7 @@ docker_build() {
# Always refresh the image
# Docker caches it anyway
docker build \
+ --network=host \
--quiet \
-t "${IMAGE}" \
"${IMAGE_SRC}"