Skip to content

Commit f780eb1

Browse files
authored
Merge pull request kubernetes#49975 from ixdy/automated-cherry-pick-of-#49833-upstream-release-1.7
Automated cherry pick of kubernetes#49833
2 parents 0c4af4e + 01efac7 commit f780eb1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build/root/.bazelrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,7 @@ build --workspace_status_command hack/print-workspace-status.sh
77

88
# Make /tmp hermetic
99
build --sandbox_tmpfs_path=/tmp
10+
11+
# Ensure that Bazel never runs as root, which can cause unit tests to fail.
12+
# This flag requires Bazel 0.5.0+
13+
build --sandbox_fake_username

0 commit comments

Comments
 (0)