bazel: minor fixes and optimizations
A few small bazel configuration fixes and optimizations:
-
Remove the attempt at pre-populating the local bazel distribution cache as this will end up in
/root/.cache/...which is not used and not/workspace/.bazel/...which is used but is replaced for each Cloud Build job. -
Place the local configuration in
/etc/bazel.bazelrcinstead of/root/.bazelrcas$HOMEis set to/builder/homeby Cloud Build. -
Merge the container layers by adding everything to a single
RUNstatement.
Can you please sign the CLA as described here?
This changeset is being submitted on behalf of my current Employer (BenchSci) for which I am the Google Corporate CLA Owner ([email protected]).
This changeset is being submitted on behalf of my current Employer (BenchSci) for which I am the Google Corporate CLA Owner ([email protected]).
I confirmed (internally) that BenchSci has signed Google's CLA; can you please associate this commit so that the author email matches your corporate email [email protected] and add that email to your GH account? That way the CLA-bot will pick up that the CLA is valid and mark this PR accordingly.
(Sorry for the churn / bother in trying to keep it legal.)
Closing as stale.