Skip to content

rigoford/docker-jenkinsslave-gcloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Jenkins slave docker image with the Google Cloud SDK installed

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •