Skip to content
This repository has been archived by the owner. It is now read-only.
This project is part of the Dockerized Drupal initiative.
HTML Puppet JavaScript Shell Nginx Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Add java support Jul 31, 2017
tools Add java support Jul 31, 2017
.dockerignore Update Dec 5, 2015
.gitignore Update Dec 5, 2015
Dockerfile Update Base image version Jul 31, 2017
Gruntfile.js Add java support Jul 31, 2017
LICENSE.md Add project files Dec 7, 2014
README.md Add java support Jul 31, 2017
VERSION.md Add java support Jul 31, 2017
Vagrantfile Add java support Jul 31, 2017
docker-compose.yml Add java support Jul 31, 2017
package.json Add java support Jul 31, 2017

README.md

jenkins-for-docker

A Docker image for Jenkins with Nginx in front of it providing support for HTTPS. Also supports connecting to OpenVPN server.

Run the container

CONTAINER="jenkins-data" && sudo docker run \
  --name "${CONTAINER}" \
  -h "${CONTAINER}" \
  -v /jenkins \
  --entrypoint /bin/echo \
  dockerizedrupal/jenkins:2.0.3 "Data-only container for Jenkins."

CONTAINER="jenkins" && sudo docker run \
  --name "${CONTAINER}" \
  -h "${CONTAINER}" \
  -p 80:80 \
  -p 443:443 \
  --volumes-from jenkins-data \
  --cap-add NET_ADMIN \
  -e SERVER_NAME="localhost" \
  -e TIMEZONE="Etc/UTC" \
  -e TIMEOUT="300" \
  -e PROTOCOLS="https,http" \
  -e OPENVPN="Off" \
  -e OPENVPN_DEVICE="TAP" \
  -e OPENVPN_HOST="" \
  -e OPENVPN_PORT="1194" \
  -e OPENVPN_PROTO="udp" \
  -e OPENVPN_USERNAME="" \
  -e OPENVPN_PASSWORD="" \
  -e OPENVPN_CA_CERTIFICATE="" \
  -d \
  dockerizedrupal/jenkins:2.0.3

Build the image

TMP="$(mktemp -d)" \
  && git clone https://github.com/dockerizedrupal/jenkins-for-docker.git "${TMP}" \
  && cd "${TMP}" \
  && git checkout 2.0.3 \
  && sudo docker build -t dockerizedrupal/jenkins:2.0.3 . \
  && cd -

Back up Jenkins data

sudo tools/jenkinsdata backup

Restore Jenkins data from a backup

sudo tools/jenkinsdata restore

License

MIT

You can’t perform that action at this time.