Public | Automated Build

Last pushed: 6 months ago
Short Description
An image for jenkins agents to use that has docker and kubectl installed, intended for use with helm
Full Description

Jenkins Agent for Docker outside of Docker

Custom Jenkins JNLP agent for the Kubernetes Plugin for
Jenkins based on the official JNLP agent image from Jenkins.

Differences

From the base JNLP image, docker and kubectl are added so they can
be called within a Jenkins Pipeline.

Additionally, at http://jenkins-ip/configure, you must set an env var
for the docker client version to match that of helm's
stable/jenkins chart.

DOCKER_CLIENT_VERSION=1.23

Finally, you must add volume mounts to help the agent find the host's
docker and find the scm workspace.

/var/run/docker.sock    --> /var/run/docker.sock
/home/jenkins/workspace --> /home/jenkins/workspace

These changes are already configured in
https://github.com/Sharecare/helm-charts/jenkins-dood

Docker Pull Command
Owner
gempesaw
Source Repository