aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
blob: b18e08a3ccf430136636c863cbd4b612338702b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM jenkins/jenkins:lts

USER root

RUN apt-get update && apt-get -y install \
    build-essential \
    rsync

# 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