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 \ |
e6009b
|
18 |
ansible git python-netaddr python3-netaddr \ |
aee79d
|
19 |
&& apt-get -y clean \ |
JK |
20 |
&& rm -Rf /var/lib/apt/lists/* |
bfbd53
|
21 |
|
bdb887
|
22 |
RUN mkdir /etc/rundeck-org \ |
JK |
23 |
&& mv /etc/rundeck/* /etc/rundeck-org/ |
bfbd53
|
24 |
|
JK |
25 |
ADD run.sh / |
|
26 |
CMD /run.sh |
|
27 |
|
|
28 |
VOLUME /etc/rundeck |
|
29 |
VOLUME /var/lib/rundeck/data |
|
30 |
VOLUME /var/lib/rundeck/logs |
|
31 |
VOLUME /var/rundeck |