Merge pull request #49833 from ixdy/bazel-sandbox-fake-username

Use --sandbox_fake_username with bazel build
pull/6/head
Jeff Grafton 2017-07-31 14:47:48 -07:00 committed by GitHub
commit 9af1ff3dce
1 changed files with 4 additions and 0 deletions

View File

@ -7,3 +7,7 @@ build --workspace_status_command hack/print-workspace-status.sh
# Make /tmp hermetic
build --sandbox_tmpfs_path=/tmp
# Ensure that Bazel never runs as root, which can cause unit tests to fail.
# This flag requires Bazel 0.5.0+
build --sandbox_fake_username