Our jenkins master image based on alpine
2.8K
Uses the Alpine image and sets up a container with Jenkins installed.
Just intended to a small master image to avoid bloated containers. Mostly intended to leverage other containers as slaves.
Imagine a list of links here that go to other docker container repo that have really specific and interesting purposes!
docker run -p 8080:8080 -p 50000:50000 jenkins
This will store the workspace in /var/lib/jenkins. All Jenkins data lives in there - including plugins and configuration. You will probably want to make that a persistent volume (recommended):
docker run -p 8080:8080 -p 50000:50000 -v /your/home:/var/lib/jenkins jenkins
You can also use a volume container:
docker run --name myjenkins -p 8080:8080 -p 50000:50000 -v /var/lib/jenkins jenkins
To build the image, do the following:
% docker build github.com/hearstat/docker-alpinejenkins
A prebuilt container is available in the docker index.
% docker pull hearstat/alpine-jenkins
Content type
Image
Digest
sha256:4d1cb18f7…
Size
293.8 MB
Last updated
almost 11 years ago
docker pull hearstat/alpine-jenkins