Pedro

Results 105 comments of Pedro

This is already possible via the flag [sandbox_add_mount_pair](https://cs.opensource.google/bazel/bazel/+/master:src/main/java/com/google/devtools/build/lib/sandbox/SandboxOptions.java;drc=1c0135cf88bf16d9ffddf8f687ded797f07960b1;l=189) This will use Docker's `-v` option as seen [here](https://cs.opensource.google/bazel/bazel/+/master:src/main/java/com/google/devtools/build/lib/sandbox/DockerCommandLineBuilder.java;drc=a72c9b87e1865b5b311b1791e1a5d80ec4a68f98;l=159).

> But docker sandbox is [always copying the inputs](https://cs.opensource.google/bazel/bazel/+/master:src/main/java/com/google/devtools/build/lib/sandbox/DockerSandboxedSpawnRunner.java;l=281;bpv=1;bpt=0), how does an extra mount point prevent the copy of inputs? I thought the feature request was the following: > It...

> @oquenchil Is it possible to create the virtual_includes dir under some path that the length is O(1) instead of O(package path length)? I don't think so. - Assuming source...

This keeps being a pain point for users. We should evaluate where our code would break if we just let any header extensions since some logic internally decides one code...