Bazel Blog

Build dashboard dogfood

WARNING: This feature has been removed (2017-04-19).

Building deterministic Docker images with Bazel

Docker images are great to automate your deployment environment. By composing base images, you can create an (almost) reproducible environment and, using an appropriate cloud service, easily deploy those image. However, V1 Docker build suffers several issues:

Trimming your (build) tree

Reposted from @kchodorow's blog.

Configuring your Java builds

Let say that you want to build for Java 8 and errorprone checks off but keep the tools directory provided with Bazel in the package path, you could do that by having the following rc file:

Sharing your rc files

You can customize the options Bazel runs with in your ~/.bazelrc, but that doesn't scale when you share your workspace with others.

Checking your Java errors with Error Prone.

We recently open-sourced our support for Error Prone. Error Prone checks for common mistakes in Java code that will not be caught by the compiler.

Visualize your build

Reposted from Kristina Chodorow's blog.

Stickers for Contributors

Tell us about your Bazel project!

We're setting up a list of projects using Bazel. If you'd like us to list your project on bazel.build, send us the following information:

Support for Bash Shell Completion

We just pushed a support for shell completion in the Bourne-Again Shell. It eases the use of Bazel by expanding its commands and the targets to build.