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 \ |
754e25
|
9 |
&& echo "deb http://ppa.launchpad.net/ansible/ansible/ubuntu trusty main" \ |
JK |
10 |
> /etc/apt/sources.list.d/ansible.list \ |
cf017b
|
11 |
&& cat /root/*-gpg.key | apt-key add - |
ff3e85
|
12 |
|
bdb887
|
13 |
RUN apt-get -y update \ |
JK |
14 |
&& apt-get -y upgrade \ |
ff3e85
|
15 |
&& apt-get -y install openssh-client default-jre-headless wget rundeck \ |
754e25
|
16 |
ansible git python-netaddr python3-netaddr \ |
bdb887
|
17 |
&& apt-get -y clean |
bfbd53
|
18 |
|
bdb887
|
19 |
RUN mkdir /etc/rundeck-org \ |
JK |
20 |
&& mv /etc/rundeck/* /etc/rundeck-org/ |
bfbd53
|
21 |
|
JK |
22 |
ADD run.sh / |
|
23 |
CMD /run.sh |
|
24 |
|
|
25 |
VOLUME /etc/rundeck |
|
26 |
VOLUME /var/lib/rundeck/data |
|
27 |
VOLUME /var/lib/rundeck/logs |
|
28 |
VOLUME /var/rundeck |