commit | author | age
|
aee79d
|
1 |
FROM debian:stretch |
bfbd53
|
2 |
|
JK |
3 |
ENV DEBIAN_FRONTEND noninteractive |
|
4 |
|
|
5 |
EXPOSE 4440 |
|
6 |
|
cf017b
|
7 |
ADD *-gpg.key /root/ |
aee79d
|
8 |
RUN apt-get -y update \ |
JK |
9 |
&& apt-get -y install gnupg \ |
bdb887
|
10 |
&& apt-get -y upgrade \ |
aee79d
|
11 |
&& echo 'deb http://httpredir.debian.org/debian stretch-backports main' > \ |
JK |
12 |
/etc/apt/sources.list.d/stretch-backports.list \ |
|
13 |
&& echo "deb http://dl.bintray.com/rundeck/rundeck-deb /" > /etc/apt/sources.list.d/rundeck.list \ |
|
14 |
&& cat /root/*-gpg.key | apt-key add - \ |
|
15 |
&& apt-get -y update \ |
|
16 |
&& apt-get -y -t stretch-backports install \ |
0194f2
|
17 |
openssh-client openjdk-8-jre-headless wget rundeck \ |
aee79d
|
18 |
&& apt-get -y clean \ |
JK |
19 |
&& rm -Rf /var/lib/apt/lists/* |
bfbd53
|
20 |
|
bdb887
|
21 |
RUN mkdir /etc/rundeck-org \ |
JK |
22 |
&& mv /etc/rundeck/* /etc/rundeck-org/ |
bfbd53
|
23 |
|
JK |
24 |
ADD run.sh / |
|
25 |
CMD /run.sh |
|
26 |
|
|
27 |
VOLUME /etc/rundeck |
|
28 |
VOLUME /var/lib/rundeck/data |
|
29 |
VOLUME /var/lib/rundeck/logs |
|
30 |
VOLUME /var/rundeck |