blob: cba072a63f268915657a9fa2bdd57cfcf109cb29 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
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
|