aboutsummaryrefslogtreecommitdiff
path: root/examples/example8/Dockerfile
diff options
context:
space:
mode:
authorCody Hiar <codyfh@gmail.com>2019-01-14 20:41:52 -0700
committerCody Hiar <codyfh@gmail.com>2019-01-14 20:41:52 -0700
commite1c3d2ec14c1617fc779bccfdb64b4c09bdc6525 (patch)
tree08a2c3eaa0516cb2d2f984c01721bb457222b13b /examples/example8/Dockerfile
parenta69b96fe168a05792288ef2e186a86e6540f85bd (diff)
Alpha Version
Diffstat (limited to 'examples/example8/Dockerfile')
-rw-r--r--examples/example8/Dockerfile20
1 files changed, 20 insertions, 0 deletions
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