binhex / arch-jenkins

Docker build script for Arch Linux base with Jenkins

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Application

Jenkins

Description

Jenkins is an open source continuous integration tool written in Java. The project was forked from Hudson after a dispute with Oracle. Jenkins provides continuous integration services for software development. It is a server-based system running in a servlet container such as Apache Tomcat.

Build notes

Latest stable release of Jenkins from Arch Linux Repo.

Usage

docker run -d \
    --name=<container name> \
    -v <path for config files>:/config \
    -v /etc/localtime:/etc/localtime:ro \
    -e JAVA_ARGS=<java arguments> \
    -e JAVA_OPTS=<java options> \
    -e UMASK=<umask for created files> \
    -e PUID=<uid for user> \
    -e PGID=<gid for user> \
    binhex/arch-jenkins

Please replace all user variables in the above command defined by <> with the correct values.

Access application

http://<host ip>:8090

Example

docker run -d \
    --name=jenkins \
    -v /apps/docker/jenkins:/config \
    -v /etc/localtime:/etc/localtime:ro \
    -e JAVA_ARGS=-Xmx512m \
    -e JAVA_OPTS=-Dhudson.footerURL=http://mycompany.com \
    -e UMASK=000 \
    -e PUID=0 \
    -e PGID=0 \
    binhex/arch-jenkins

Notes

User ID (PUID) and Group ID (PGID) can be found by issuing the following command for the user you want to run the container as:-

id <username>

If you appreciate my work, then please consider buying me a beer :D

PayPal donation

Documentation | Support forum

About

Docker build script for Arch Linux base with Jenkins

License:GNU General Public License v3.0


Languages

Language:Shell 82.8%Language:Dockerfile 17.2%