Add docker build argument --network-host 06/906/1
authorLott, Christopher (cl778h) <cl778h@att.com>
Fri, 6 Sep 2019 14:34:46 +0000 (10:34 -0400)
committerLott, Christopher (cl778h) <cl778h@att.com>
Fri, 6 Sep 2019 14:34:46 +0000 (10:34 -0400)
Attempt to solve network failures in LF build minions

Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: I23b82df65058aa394b17a23f6e1793d236b96265

jjb/it-test/it-test.yaml

index 40819b1..c6981c1 100644 (file)
@@ -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