Image Overview: bazel

Overview: bazel Chainguard Image

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

Download this Image

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


Last updated: 2024-03-01 12:14