Skip to content

jenkins JNLP slave inspired by DockerInDocker and JNLP jenkins slave and combined togheter

Notifications You must be signed in to change notification settings

oviis/jenkins-dind-slave

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

This Docker image combine remote JNLP Jenkins slave and Docker inception, to build inside docker more docker images dynamicaly

inspired by and credits to:
JNLP Slave
DockerInDocker docker/dind

A Jenkins slave using JNLP to establish connection.

See Jenkins Distributed builds for more info.

See Docker inception

Running

To run a Docker container, it is important to run it in privileged mode, like:

docker run --privileged oviis/jenkins-dind-slave:v1 -url https://jenkins-server:port <secret> <slave name>

optional environment variables:

  • JENKINS_URL: url for the Jenkins server, can be used as a replacement to -url option, or to set alternate jenkins URL
  • JENKINS_TUNNEL: (HOST:PORT) connect to this slave host and port instead of Jenkins server, assuming this one do route TCP traffic to Jenkins master. Useful when when Jenkins runs behind a load balancer, reverse proxy, etc.

image Stack

the Image have been build on the docker alpine base
and have a openjdk8-jre inside
and a docker daemon started as a jenkins user

About

jenkins JNLP slave inspired by DockerInDocker and JNLP jenkins slave and combined togheter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages