Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jincod/jenkins-docker-agent
Jenkins slave Docker images for Linux and Windows
https://github.com/jincod/jenkins-docker-agent
docker jenkins jenkins-slave
Last synced: about 1 month ago
JSON representation
Jenkins slave Docker images for Linux and Windows
- Host: GitHub
- URL: https://github.com/jincod/jenkins-docker-agent
- Owner: jincod
- License: mit
- Created: 2017-04-21T15:30:41.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-11-23T19:38:30.000Z (about 1 year ago)
- Last Synced: 2024-04-15T02:29:17.843Z (9 months ago)
- Topics: docker, jenkins, jenkins-slave
- Language: Dockerfile
- Homepage:
- Size: 38.1 KB
- Stars: 3
- Watchers: 3
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Jenkins Agent Docker images
[![Build status](https://ci.appveyor.com/api/projects/status/t54hav6qci21bkr2?svg=true)](https://ci.appveyor.com/project/jincod/jenkins-docker-agent)
## Linux
Based on [jenkinsci/docker-inbound-agent](https://github.com/jenkinsci/docker-inbound-agent)
### Usage
[View](https://github.com/jenkinsci/docker-inbound-agent#running) available options.
```bash
docker build -t jenkins-agent-linux .
docker run -v /var/run/docker.sock:/var/run/docker.sock --env JENKINS_URL=https://jenkins --env JENKINS_SECRET=xxx --env JENKINS_AGENT_NAME=agent-name jenkins-agent-linux
```## Windows
Based on [jdk11-windowsservercore-ltsc2019](https://github.com/jenkinsci/docker-agent/blob/master/11/windows/windowsservercore-ltsc2019/Dockerfile)
### Usage
```bash
docker build -t jenkins-agent-windows .
docker run -m 2GB --env JENKINS_URL=https://jenkins --env JENKINS_SECRET=xxx --env JENKINS_AGENT_NAME=agent-name jenkins-agent-windows
```