Public | Automated Build

Last pushed: 3 months ago
Short Description
Docker image for Jenkins jnlp agent
Full Description

Jenkins JNLP Agent Docker image



This is an image for Jenkins agent using JNLP to establish connection.
It have docker client and docker-compose installed and docker images preloading.

For now, the agent will try to create the agent on jenkins master before connecting. If agent already exists on master, the connection will fail.

Base on Jenkins JNLP Agent Docker image

Running

 docker run -d -v /var/run/docker.sock:/var/run/docker.sock \
     -e JENKINS_URL=$JENKINS_URL \
     -e LABELS=$LABELS \
     -e USER=$USER \
     -e JENKINS_AGENT_NAME=$SLAVE_NAME \
     -e EXECUTORS=1 \
   -e DOCKER_PRELOAD_IMAGES="alpine nginx" \
     -v /tmp/jenkins:/tmp/jenkins \
     jmaitrehenry/docker-jenkins-jnlp
Docker Pull Command
Owner
jmaitrehenry

Comments (0)