Rundeck server based on Debian
Jacek Kowalski
2016-02-03 e6009b3f35c859f953d16b188bb4f16dce61ca4e
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 \
e6009b 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
0194f2 13 RUN echo 'deb http://httpredir.debian.org/debian jessie-backports main' > \
JK 14         /etc/apt/sources.list.d/jessie-backports.list \
15     && apt-get -y update \
bdb887 16     && apt-get -y upgrade \
0194f2 17     && apt-get -y -t jessie-backports install \
JK 18         openssh-client openjdk-8-jre-headless wget rundeck \
e6009b 19         ansible git python-netaddr python3-netaddr \
bdb887 20     && apt-get -y clean
bfbd53 21
bdb887 22 RUN mkdir /etc/rundeck-org \
JK 23     && mv /etc/rundeck/* /etc/rundeck-org/
bfbd53 24
JK 25 ADD run.sh /
26 CMD /run.sh
27
28 VOLUME /etc/rundeck
29 VOLUME /var/lib/rundeck/data
30 VOLUME /var/lib/rundeck/logs
31 VOLUME /var/rundeck