Bazel | Distroless | Docker |
This repository houses instructions for generating a container image containing bazel in the style of distroless.
$ docker run gcr.io/stack-build/distroless/bazel:0.14.1 version
Extracting Bazel installation...
Build label: 0.14.1
Build target: bazel-out/k8-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Fri Jun 8 12:17:35 2018 (1528460255)
Build timestamp: 1528460255
Build timestamp as int: 1528460255
Images are available on gcr.io and index.docker.io:
Bazel Version | Tag | Size |
---|---|---|
0.12.0 | gcr.io/stack-build/distroless/bazel:0.12.0 | 248MB |
0.14.0 | gcr.io/stack-build/distroless/bazel:0.14.0 | 257MB |
0.14.1 | gcr.io/stack-build/distroless/bazel:0.14.1 | 257MB |
Bazel Version | Tag | Size |
---|---|---|
0.12.0 | index.docker.io/stackb/distroless-bazel:0.12.0 | 248MB |
0.14.0 | index.docker.io/stackb/distroless-bazel:0.14.0 | 257MB |
0.14.1 | index.docker.io/stackb/distroless-bazel:0.14.1 | 257MB |
Fork this repository, update the bazel version as needed and/or add dependencies as appropriate.