stackb / distroless-bazel

Minimal bazel container image

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Minimal bazel container image

License:Other


Languages

Language:Python 100.0%