Public | Automated Build

Last pushed: a month ago
Short Description
a base jenkins slave based on ubuntu
Full Description

docker-jenkinsslave-ubuntu

Jenkins Slave docker image, based off OpenJDK 8 on Ubuntu, with Gradle and Maven installed

This is available on Docker hub as garethjevans/jenkinsslave-ubuntu

Usage

To create a basic Jenkins (Ubuntu) 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=build \
    --env JENKINS_NAME=ubuntu-build-slave \
    --env LANG=C.UTF-8 \
    --name jenkins_ubuntu_build \
    --volume /etc/localtime:/etc/localtime:ro \
    garethjevans/jenkinsslave-ubuntu:latest

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

Docker Pull Command
Owner
garethjevans