Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Jenkins Docker file
FROM jenkins/jenkins:lts
LABEL maintainer="nebojshatodorovivik@yahoo.com"
ENV REFRESHED_AT 2020-19-05
USER root
RUN apt-get -qqy update; apt-get install -qqy sudo
RUN echo "jenkins ALL=NOPASSWD: ALL" >> /etc/sudoers
RUN wget http://get.docker.com/builds/Linux/x86_64/docker-latest.tgz
RUN tar -xvzf docker-latest.tgz
RUN mv docker/* /usr/bin/
USER jenkins
RUN /usr/local/bin/install-plugins.sh junit git git-client ssh-slaves greenballs chucknorris ws-cleanup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.