Use host networking for build container.

This will allow the use of default credentials.

PiperOrigin-RevId: 320972241
This commit is contained in:
Adin Scannell
2020-07-13 09:39:06 -07:00
committed by gVisor bot
parent 9c32fd3f4d
commit 7ff4649b3c
+1
View File
@@ -70,6 +70,7 @@ bazel-server-start: load-default ## Starts the bazel server.
-v "$(CURDIR):$(CURDIR)" \
--workdir "$(CURDIR)" \
--entrypoint "" \
--network=host \
$(FULL_DOCKER_RUN_OPTIONS) \
gvisor.dev/images/default \
sh -c "groupadd --gid $(GID) --non-unique $(USER) && \