From: Lott, Christopher (cl778h) Date: Fri, 6 Sep 2019 14:34:46 +0000 (-0400) Subject: Add docker build argument --network-host X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F06%2F906%2F1;p=ci-management.git Add docker build argument --network-host Attempt to solve network failures in LF build minions Signed-off-by: Lott, Christopher (cl778h) Change-Id: I23b82df65058aa394b17a23f6e1793d236b96265 --- diff --git a/jjb/it-test/it-test.yaml b/jjb/it-test/it-test.yaml index 40819b13..c6981c1a 100644 --- a/jjb/it-test/it-test.yaml +++ b/jjb/it-test/it-test.yaml @@ -40,7 +40,7 @@ # start in parent directory with shared files docker-root: ric_robot_suite # dockerfile is in subdir of docker root - docker-build-args: -f docker/nanobot/Dockerfile + docker-build-args: '--network=host -f docker/nanobot/Dockerfile' # tag file is in subdir container-tag-yaml-dir: ric_robot_suite/docker/nanobot # build only on relevant changes @@ -58,7 +58,7 @@ # start in parent directory with shared files docker-root: ric_robot_suite # dockerfile is in subdir of docker root - docker-build-args: -f docker/ric-robot/Dockerfile + docker-build-args: '--network=host -f docker/ric-robot/Dockerfile' # tag file is in subdir container-tag-yaml-dir: ric_robot_suite/docker/ric-robot # build only on relevant changes