https://github.com/simonswine/docker-jenkins-dind
https://github.com/simonswine/docker-jenkins-dind
Last synced: 24 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/simonswine/docker-jenkins-dind
- Owner: simonswine
- Created: 2016-04-25T08:59:06.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-04-25T12:32:40.000Z (about 10 years ago)
- Last Synced: 2025-07-21T17:56:37.857Z (11 months ago)
- Language: Shell
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker image simonswine/jenkins-dind
## Introduction
Dockerfile to build a Jenkins Slave image based on[docker/1.10-dind](https://github.com/docker-library/docker/tree/master/1.10/dind).
It runs a docker daemon in docker which can be used for jenkins builds.
The docker container needs to be run with `--privileged` and is probably a *security thread* to the docker host
## Environment variable parameters
name | description | default
--- | --- | ---
`JENKINS_PUB_KEY` | SSH public key that is used to connect to the jenkins slave *required* |
`JENKINS_USER` | name for jenkins user | `jenkins`
`JENKINS_GROUP` | name for jenkins group | `jenkins`
`JENKINS_UID` | UID for jenkins user | `999`
`JENKINS_GID` | GID for jenkins group | `999`
`JENKINS_HOME` | Home directory for jenkins user | `/jenkins`