Created
August 9, 2020 10:08
-
-
Save Todorovikj/ed5e18dd4c1778a25989653d48be0ce3 to your computer and use it in GitHub Desktop.
Jenkins Docker file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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