commit | author | age
|
bfbd53
|
1 |
FROM debian:latest |
JK |
2 |
|
|
3 |
ENV DEBIAN_FRONTEND noninteractive |
3135fe
|
4 |
ENV RUNDECK_VERSION 2.6.2-1-GA |
bfbd53
|
5 |
|
JK |
6 |
EXPOSE 4440 |
|
7 |
|
bdb887
|
8 |
RUN apt-get -y update \ |
JK |
9 |
&& apt-get -y upgrade \ |
|
10 |
&& apt-get -y install openssh-client default-jre-headless wget \ |
|
11 |
&& apt-get -y clean |
bfbd53
|
12 |
|
bdb887
|
13 |
RUN wget -O /tmp/rundeck.deb http://download.rundeck.org/deb/rundeck-${RUNDECK_VERSION}.deb \ |
JK |
14 |
&& dpkg -i /tmp/rundeck.deb \ |
|
15 |
&& rm -f /tmp/rundeck.deb |
bfbd53
|
16 |
|
bdb887
|
17 |
RUN mkdir /etc/rundeck-org \ |
JK |
18 |
&& mv /etc/rundeck/* /etc/rundeck-org/ |
bfbd53
|
19 |
|
JK |
20 |
ADD run.sh / |
|
21 |
CMD /run.sh |
|
22 |
|
|
23 |
VOLUME /etc/rundeck |
|
24 |
VOLUME /var/lib/rundeck/data |
|
25 |
VOLUME /var/lib/rundeck/logs |
|
26 |
VOLUME /var/rundeck |