Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 2.14 KB

README.md

File metadata and controls

44 lines (35 loc) · 2.14 KB
Bazel Distroless Docker

distroless-bazel

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

Versions

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

Development

Fork this repository, update the bazel version as needed and/or add dependencies as appropriate.