mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 05:57:25 +00:00
Use --sandbox_fake_username with bazel build
This commit is contained in:
parent
6000712803
commit
9a7ffbb2ea
@ -7,3 +7,7 @@ build --workspace_status_command hack/print-workspace-status.sh
|
|||||||
|
|
||||||
# Make /tmp hermetic
|
# Make /tmp hermetic
|
||||||
build --sandbox_tmpfs_path=/tmp
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user