Image Overview: bazel

ReferenceChainguard ImagesProduct


latest6, 6.0, 6.0.0, 6.0.0-r3

Bazel - A fast, scalable, multi-language and extensible build system.

Get It!

The image is available on

docker pull

Using Bazel

We can use the Bazel examples to try this image.

first clone

git clone

change into the Java tutorial directory

cd examples/java-tutorial

now run the chainguard image, mounting the example and overwrite the entrypoint to bash

docker run --rm -ti --entrypoint bash -v ${PWD}:/home/bazel

once in the container you can perform a build

bazel build //:ProjectRunner

and now run the example


and see the message from the example application