https://github.com/fabric8io/jenkins-docker
docker file for a jenkins docker image
https://github.com/fabric8io/jenkins-docker
Last synced: 3 months ago
JSON representation
docker file for a jenkins docker image
- Host: GitHub
- URL: https://github.com/fabric8io/jenkins-docker
- Owner: fabric8io
- Created: 2015-04-24T13:23:16.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-04-13T15:47:38.000Z (over 8 years ago)
- Last Synced: 2025-03-03T01:35:35.697Z (7 months ago)
- Language: Groovy
- Size: 273 MB
- Stars: 84
- Watchers: 20
- Forks: 96
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Jenkins CI Server
-----------------This is a [Jenkins CI](http://jenkins-ci.org/) server with build dependencies installed
- [Maven](http://maven.apache.org/)
- [JDK](http://www.oracle.com/technetwork/java/javase/overview/index.html)
- [Golang](https://golang.org/) installed.In addition this Jenkins comes pre configured to work with a local on premise Nexus service using the following environment variables (usually supplied via Kubernetes)
- $NEXUS_SERVICE_HOST
- $NEXUS_SERVICE_PORTRunning this container
----------------------```
docker run -it -p 8080:8080 --name jenkins -e SEED_GIT_URL=https://github.com/fabric8io/default-jenkins-dsl.git -e NEXUS_SERVICE_HOST=dockerhost -e NEXUS_SERVICE_PORT=8081 fabric8/jenkins
```Where `dockerhost` is the host running nexus. You may wish to [run nexus using these instructions](https://github.com/fabric8io/nexus-docker#running-this-container)
If `dockerhost` is the host running docker then you can view the running Jenkins at http://dockerhost:8080/
Environment variables
---------------------* `NEXUS_SERVICE_HOST` host where nexus is running
* `NEXUS_SERVICE_PORT` port where nexus is running