Sign inSign up

calebhankins/jankins

By calebhankins

•Updated 2 months ago

An image base for linting and ci/cd of Jenkinsfiles and related Shared Libraries written in groovy.

Buildkit cache
Image
0

6.5K

calebhankins/jankins repository overview

⁠jankins

logo Docker Cloud Automated build Docker Cloud Build Status

An image base⁠ for linting and ci/cd of Jenkinsfiles⁠ and related Shared Libraries⁠ written in groovy⁠.

⁠Build

Run these commands from the same folder as this readme. Tweak the Dockerfile to meet your needs.

docker build --pull --rm -f "Dockerfile" -t jankins .

⁠Run

# Start the container and run bash interactively
docker run --rm --entrypoint bash -it jankins

# Start container and run Jenkins exposed on host port 8001, with custom env vars set
docker run --rm -p '8081:8080' -it -e JENKINS_EXECUTORS=4 -e JENKINS_USER='admin2' -e JENKINS_PASSWD='welcome1'  jankins
# Exposed as: http://0.0.0.0:8081
⁠Run Params
  • The Jenkins env can be customized at runtime via the following Docker env vars⁠. Sample values are shown below.
JENKINS_USER=jankins
JENKINS_PASSWD=jankins
JENKINS_EXECUTORS=1

Tag summary

Content type

Image

Digest

sha256:cb35a5186…

Size

619.6 MB

Last updated

8 months ago

docker pull calebhankins/jankins