HUB
Sign inSign up

akumadare/jenkins-ssh-slave-node-docker

By akumadare

•Updated almost 8 years ago

Image to be used as jenkins slave with docker and node capabilities

Image
0

92

akumadare/jenkins-ssh-slave-node-docker repository overview

This image can be used as a jenkins slave supporting connection from master over ssh. It is based on stefanlehmann/centos-jenkins-docker-slave with node js and docker added using Dockerfile as below:

FROM stefanlehmann/centos-jenkins-docker-slave

RUN yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo && \
yum -y install docker

RUN curl --silent --location https://rpm.nodesource.com/setup_8.x | bash - && \
yum install -y nodejs

To run docker commands the container will need to be run with the docker socket on the host mounted:

-v /var/run/docker.sock:/var/run/docker.sock

Tag summary

Content type

Image

Digest

Size

246.2 MB

Last updated

almost 8 years ago

docker pull akumadare/jenkins-ssh-slave-node-docker:1.0