Unverified Commit 92c78266 by Leandro Nunes Committed by GitHub

[CI] Fix build.sh to propagate --network=host to the docker build command (#5336)

* 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
parent e7fcd9e3
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment