Sign inSign up

binhex/arch-jenkins

By binhex

•Updated about 2 hours ago

Docker build script for Arch Linux base with Jenkins

Image
1

500K+

binhex/arch-jenkins repository overview

⁠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 ENABLE_STARTUP_SCRIPTS=<yes|no> \
    -e STARTUP_SCRIPTS_MODE=<wait|parallel> \
    -e HEALTHCHECK_COMMAND=<command> \
    -e HEALTHCHECK_ACTION=<action> \
    -e HEALTHCHECK_HOSTNAME=<hostname> \
    -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](http://mycompany.com) \
    -e ENABLE_STARTUP_SCRIPTS=no \
    -e STARTUP_SCRIPTS_MODE=wait \
    -e UMASK=000 \
    -e PUID=0 \
    -e PGID=0 \
    binhex/arch-jenkins

⁠Notes

ENABLE_STARTUP_SCRIPTS when set to yes (default no) will allow a user to install additional packages from the official Arch Repository or the Arch User Repository (AUR) via scripts located in the folder /config/jenkins/scripts/.

STARTUP_SCRIPTS_MODE controls how those scripts are executed, set to wait (default) to run each script in turn and wait for it to complete before the next script runs, or parallel to run all scripts at the same time.

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⁠

Tag summary

Content type

Image

Digest

sha256:b895cad19…

Size

783.7 MB

Last updated

about 2 hours ago

docker pull binhex/arch-jenkins