constellation/bazel/container
Moritz Sanft 49c37b3969
mount AWS credentials file into Bazel container (#2341)
Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>
2023-09-19 16:09:53 +02:00
..
container.sh mount AWS credentials file into Bazel container (#2341) 2023-09-19 16:09:53 +02:00
Containerfile deps: update bazel, rules_go and gazelle (#2203) 2023-08-10 10:52:15 +02:00
README.md bazel: add container builder script 2023-04-17 12:06:21 +02:00

Bazel build container

This container enables running Bazel inside a container, with the host cache mounted.

To use the container, run

source container.sh
startBazelServer

You can then execute Bazel commands like you normally would do, as the sourced bazel function shadows binaries you might have in your path:

bazel query //...

To terminate the container, which is running as daemon in the background, execute

stopBazelServer