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 |
|
bdb887
|
11 |
RUN apt-get -y update \ |
JK |
12 |
&& apt-get -y upgrade \ |
ff3e85
|
13 |
&& apt-get -y install openssh-client default-jre-headless wget rundeck \ |
bdb887
|
14 |
&& apt-get -y clean |
bfbd53
|
15 |
|
bdb887
|
16 |
RUN mkdir /etc/rundeck-org \ |
JK |
17 |
&& mv /etc/rundeck/* /etc/rundeck-org/ |
bfbd53
|
18 |
|
JK |
19 |
ADD run.sh / |
|
20 |
CMD /run.sh |
|
21 |
|
|
22 |
VOLUME /etc/rundeck |
|
23 |
VOLUME /var/lib/rundeck/data |
|
24 |
VOLUME /var/lib/rundeck/logs |
|
25 |
VOLUME /var/rundeck |