diff options
author | Ian Lewis <ianlewis@google.com> | 2019-09-04 23:19:09 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-09-04 23:20:12 -0700 |
commit | e31686500db56a5fcd4070561643d702a94da0c3 (patch) | |
tree | ab4d71dbbfe4c13bfba881d8512c13ffc0ec87e5 /Makefile | |
parent | fbbb2f7ed6a2f735c8e8d48e8b5264d2057e93ad (diff) |
Allow non-unique group IDs in bazel docker containers
Allow non-unique group IDs in the bazel docker container in order to avoid
failures using host group IDs that are already present in the image.
Issue #801
PiperOrigin-RevId: 267306089
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -22,7 +22,7 @@ bazel-server-start: docker-build --privileged \ gvisor-bazel \ sh -c "while :; do sleep 100; done" && \ - docker exec --user 0:0 -i gvisor-bazel sh -c "groupadd --gid $(GID) gvisor && useradd --uid $(UID) --gid $(GID) -d $(HOME) gvisor" + docker exec --user 0:0 -i gvisor-bazel sh -c "groupadd --gid $(GID) --non-unique gvisor && useradd --uid $(UID) --gid $(GID) -d $(HOME) gvisor" bazel-server: docker exec gvisor-bazel true || \ |