diff options
author | Cody Hiar <codyfh@gmail.com> | 2019-01-14 20:41:52 -0700 |
---|---|---|
committer | Cody Hiar <codyfh@gmail.com> | 2019-01-14 20:41:52 -0700 |
commit | e1c3d2ec14c1617fc779bccfdb64b4c09bdc6525 (patch) | |
tree | 08a2c3eaa0516cb2d2f984c01721bb457222b13b /examples/example8/Dockerfile | |
parent | a69b96fe168a05792288ef2e186a86e6540f85bd (diff) |
Alpha Version
Diffstat (limited to 'examples/example8/Dockerfile')
-rw-r--r-- | examples/example8/Dockerfile | 20 |
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 |