Skip to content

Commit 1080de4

Browse files
authored
chore: restrict internet access when running docker container in integration test (#3384)
A verification step in go/offline-gen-design
1 parent ac9605b commit 1080de4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

hermetic_build/library_generation/tests/integration_tests.py

+2
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,8 @@ def __run_entry_point_in_docker_container(
303303
f"{user_id}:{group_id}",
304304
"--rm",
305305
"--quiet",
306+
"--network",
307+
"none",
306308
"-v",
307309
f"{repo_location}:/workspace/repo",
308310
"-v",

0 commit comments

Comments
 (0)