[PATCH] docker: Use host networking

Samuel Mendoza-Jonas sam at mendozajonas.com
Wed Aug 8 11:08:06 AEST 2018


Use the host driver by default to simplify networking for build-builder,
especially when DNS settings need to be inherited from the host.

Signed-off-by: Samuel Mendoza-Jonas <sam at mendozajonas.com>
---
 docker/build-builder | 1 +
 1 file changed, 1 insertion(+)

diff --git a/docker/build-builder b/docker/build-builder
index c29e032a..8dcfba82 100755
--- a/docker/build-builder
+++ b/docker/build-builder
@@ -123,6 +123,7 @@ run_cmd "docker build \
 	--build-arg http_proxy=${http_proxy} \
 	--build-arg https_proxy=${https_proxy} \
 	--tag ${DOCKER_TAG} \
+	--network=host \
 	."
 
 show_tag
-- 
2.18.0



More information about the Petitboot mailing list