DirectorySecurity advisories
Sign in

Directory

bazel logo

bazel

Last changed
Get started with latest for free
docker pull cgr.dev/chainguard/bazel

Need access to a specific version? Contact us.

Sign in for updates

Get notified of upcoming product changes, critical vulnerability notifications and patches and more.

Sign in
Versions
Overview
Provenance
Specifications
SBOM
Vulnerabilities
Advisories

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

Download this Image

The image is available on cgr.dev:

docker pull cgr.dev/chainguard/bazel:latest

Using Bazel

We can use the Bazel examples to try this image.

first clone https://github.com/bazelbuild/examples

git clone git@github.com:bazelbuild/examples.git

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 cgr.dev/chainguard/bazel

once in the container you can perform a build

bazel build //:ProjectRunner

and now run the example

bazel-bin/ProjectRunner

and see the message from the example application

Hi
Licenses

Chainguard Images contain software packages that are direct or transitive dependencies. The following licenses were found in the "latest" version of this image:

  • Apache-2.0

  • BSD-2-Clause

  • BSD-3-Clause

  • Bitstream-Vera

  • FTL

  • GCC-exception-3.1

  • GPL-2.0-only

View more

For a complete list of licenses, please refer to this Image's SBOM.

Software license agreement

Category
application
CI/CD

Products

Chainguard Images

© 2024 Chainguard, Inc.