commit | author | age
|
d6614a
|
1 |
FROM openjdk:8-jre-slim |
bfbd53
|
2 |
|
JK |
3 |
ENV DEBIAN_FRONTEND noninteractive |
d6614a
|
4 |
ENV RDECK_JVM_SETTINGS "-Xmx1024m -Xms256m -XX:MaxMetaspaceSize=256m -server" |
bfbd53
|
5 |
|
JK |
6 |
EXPOSE 4440 |
|
7 |
|
cf017b
|
8 |
ADD *-gpg.key /root/ |
aee79d
|
9 |
RUN apt-get -y update \ |
bdb887
|
10 |
&& apt-get -y upgrade \ |
d6614a
|
11 |
&& apt-get -y install openssh-client wget gnupg \ |
JK |
12 |
&& echo "deb http://dl.bintray.com/rundeck/rundeck-deb /" \ |
|
13 |
> /etc/apt/sources.list.d/rundeck.list \ |
aee79d
|
14 |
&& cat /root/*-gpg.key | apt-key add - \ |
JK |
15 |
&& apt-get -y update \ |
d6614a
|
16 |
&& apt-get -y install rundeck \ |
aee79d
|
17 |
&& apt-get -y clean \ |
JK |
18 |
&& rm -Rf /var/lib/apt/lists/* |
bfbd53
|
19 |
|
bdb887
|
20 |
RUN mkdir /etc/rundeck-org \ |
d6614a
|
21 |
&& mv /etc/rundeck/* /etc/rundeck-org/ |
bfbd53
|
22 |
|
JK |
23 |
ADD run.sh / |
|
24 |
CMD /run.sh |
|
25 |
|
|
26 |
VOLUME /etc/rundeck |
|
27 |
VOLUME /var/lib/rundeck/data |
|
28 |
VOLUME /var/lib/rundeck/logs |
|
29 |
VOLUME /var/rundeck |