https://github.com/ouranosinc/jenkins-ssh-slave
Jenkins ssh slave with docker support to launch builds inside its own docker.
https://github.com/ouranosinc/jenkins-ssh-slave
jenkins-ci jenkins-slave
Last synced: 4 months ago
JSON representation
Jenkins ssh slave with docker support to launch builds inside its own docker.
- Host: GitHub
- URL: https://github.com/ouranosinc/jenkins-ssh-slave
- Owner: Ouranosinc
- License: apache-2.0
- Created: 2019-02-26T18:48:56.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-12T18:59:14.000Z (over 5 years ago)
- Last Synced: 2025-01-23T07:09:48.026Z (5 months ago)
- Topics: jenkins-ci, jenkins-slave
- Language: Shell
- Size: 6.84 KB
- Stars: 0
- Watchers: 12
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jenkins-ssh-slave
Jenkins ssh slave with docker support to launch builds inside its own docker.Based on [`jenkins/ssh-slave`](https://hub.docker.com/r/jenkins/ssh-slave/).
Same usage instruction as the original `jenkins/ssh-slave` with a new
environment variable `DOCKER_GROUP_ON_HOST` and new docker.sock volume mount.Sample run:
```
docker run
-e "JENKINS_SLAVE_SSH_PUBKEY=`cat your_id_rsa.pub`" \
-e "DOCKER_GROUP_ON_HOST=`getent group |grep docker | awk -F: '{print $3}'`" \
-v /var/run/docker.sock:/var/run/docker.sock \
pavics/jenkins-ssh-slave
```