From 2629b71ad403998f6039a2ab8891e4d764acb65c Mon Sep 17 00:00:00 2001 From: Leandro Nunes Date: Tue, 14 Apr 2020 19:19:34 +0100 Subject: [PATCH] [CI] Fix build.sh to propagate --network=host to the docker build command * when passing --net=host to build.sh it needs to be also sent as --network=host to "docker build", so that both build and run will use the same network configuration --- docker/build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/build.sh b/docker/build.sh index 5bbb14317324..defa28245544 100755 --- a/docker/build.sh +++ b/docker/build.sh @@ -60,6 +60,7 @@ fi if [[ "$1" == "--net=host" ]]; then CI_DOCKER_EXTRA_PARAMS+=('--net=host') + CI_DOCKER_BUILD_EXTRA_PARAMS+=("--network=host") shift 1 fi