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