commit | author | age
|
021a4d
|
1 |
FROM debian |
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 \ |
670376
|
11 |
&& apt-get -y install openssh-client wget gnupg software-properties-common \ |
94710b
|
12 |
&& echo "deb https://packagecloud.io/pagerduty/rundeck/any/ any main" \ |
d6614a
|
13 |
> /etc/apt/sources.list.d/rundeck.list \ |
670376
|
14 |
&& add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ \ |
aee79d
|
15 |
&& cat /root/*-gpg.key | apt-key add - \ |
JK |
16 |
&& apt-get -y update \ |
670376
|
17 |
&& apt-get -y install adoptopenjdk-8-hotspot rundeck \ |
aee79d
|
18 |
&& apt-get -y clean \ |
JK |
19 |
&& rm -Rf /var/lib/apt/lists/* |
bfbd53
|
20 |
|
bdb887
|
21 |
RUN mkdir /etc/rundeck-org \ |
d6614a
|
22 |
&& mv /etc/rundeck/* /etc/rundeck-org/ |
bfbd53
|
23 |
|
JK |
24 |
ADD run.sh / |
|
25 |
CMD /run.sh |
|
26 |
|
|
27 |
VOLUME /etc/rundeck |
|
28 |
VOLUME /var/lib/rundeck/data |
|
29 |
VOLUME /var/lib/rundeck/logs |
|
30 |
VOLUME /var/rundeck |