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