Add path to bazel build targets in .bazelrc
@@ -13,6 +13,9 @@ build --explicit_java_test_deps
# Ensure builds are unpolluted by the user env
build --incompatible_strict_action_env
+# Except for the PATH environment variable
+build --action_env=PATH
+
# For build stamping
build --workspace_status_command=scripts/build-info.py
