Sign inSign up

rigoford/docker-jenkinsslave-gcloud

By rigoford

•Updated over 8 years ago

Jenkins slave docker image with the Google Cloud SDK installed

Image
0

1.3K

rigoford/docker-jenkinsslave-gcloud repository overview

⁠docker-jenkinsslave-gcloud

Jenkins Slave docker image, based off garethjevans/jenkinsslave-alpine⁠, with Google Cloud SDK⁠ and Terraform⁠ installed

This is available on Docker hub as garethjevans/jenkinsslave-gcloud⁠

⁠Usage

To create a basic Jenkins Google Cloud Slave instance use:

docker run \
    --detach \
    --env JENKINS_MASTER=<JENKINS_MASTER_ADDRESS> \
    --env JENKINS_USERNAME=<JENKINS_USERNAME> \
    --env JENKINS_PASSWORD=<JENKINS_PASSWORD> \
    --env JENKINS_EXECUTORS=1 \
    --env JENKINS_LABELS=gcloud \
    --env JENKINS_NAME=gcloud-slave \
    --env LANG=C.UTF-8 \
    --name jenkins_gcloud \
    --volume /etc/localtime:/etc/localtime:ro \
    garethjevans/jenkinsslave-gcloud:latest

Obviously, you'll need an instance of Jenkins Master as well, try garethjevans/jenkins⁠.

Tag summary

Content type

Image

Digest

Size

140.6 MB

Last updated

over 8 years ago

docker pull rigoford/docker-jenkinsslave-gcloud