From e1c3d2ec14c1617fc779bccfdb64b4c09bdc6525 Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Mon, 14 Jan 2019 20:41:52 -0700 Subject: Alpha Version --- examples/example8/Dockerfile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 examples/example8/Dockerfile (limited to 'examples/example8/Dockerfile') diff --git a/examples/example8/Dockerfile b/examples/example8/Dockerfile new file mode 100644 index 0000000..fee10e9 --- /dev/null +++ b/examples/example8/Dockerfile @@ -0,0 +1,20 @@ +FROM jenkins/jenkins:lts + +USER root + +RUN apt-get update && apt-get -y install \ + build-essential \ + libltdl-dev \ + sudo \ + rsync + +RUN echo "jenkins ALL=NOPASSWD: ALL" >> /etc/sudoers + +# Install Plugins +COPY plugins.txt /usr/share/jenkins/ref/plugins.txt +RUN /usr/local/bin/install-plugins.sh < /usr/share/jenkins/ref/plugins.txt + +# Prevent plugin install banner, we've pre-installed our plugins +RUN echo 2.0 > /usr/share/jenkins/ref/jenkins.install.UpgradeWizard.state + +USER jenkins -- cgit v1.2.3