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