-
Notifications
You must be signed in to change notification settings - Fork 300
Expand file tree
/
Copy pathDockerfile
More file actions
20 lines (14 loc) · 709 Bytes
/
Copy pathDockerfile
File metadata and controls
20 lines (14 loc) · 709 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM docker.io/jenkins/jenkins:2.141
USER root
RUN apt-get update -y && \
apt-get install -y awscli jq gettext-base tree vim zip
RUN wget https://download.docker.com/linux/static/stable/x86_64/docker-18.06.1-ce.tgz && \
tar xzvf docker-18.06.1-ce.tgz && \
cp docker/* /usr/bin/
RUN curl -L "https://github.com/docker/compose/releases/download/1.22.0/docker-compose-$(uname -s)-$(uname -m)" \
-o /usr/local/bin/docker-compose && \
chmod +x /usr/local/bin/docker-compose
COPY source/jenkins/usr/share/jenkins/plugins.txt /usr/share/jenkins/plugins.txt
RUN /usr/local/bin/plugins.sh /usr/share/jenkins/plugins.txt
COPY source/jenkins/ /
COPY source/jenkins/var/jenkins_home/ $JENKINS_HOME/