This docker image implements the latest version of Bazelisk and Go to run Bazel on Jenkins agents. Bazelisk is installed because no bazel plugins were available at the time of its creation.
The Docker file is based on this one: https://hub.docker.com/r/jenkins/slave/ But Bazelisk needed some additional components in it:
And finally bazelisk
###Starting on version 0.1.5 Additional tools were added to make it easier to integrate with GCP services. The image now includes also:
The image is meant to be used as it's origin. As a docker container, it'll run in a Kubernetes cluster or as individual image that will talk to the Jenkins master.
export IMAGE_VERSION=<x.y.z>
docker build -t rafamunozg/bazelisk-agent:$IMAGE_VERSION .
docker run -it --rm rafamunozg/bazelisk-agent:$IMAGE_VERSION /bin/bash
When ready:
docker push rafamunozg/bazelisk-agent:$IMAGE_VERSION
Content type
Image
Digest
Size
714.8 MB
Last updated
about 7 years ago
docker pull rafamunozg/bazelisk-agent