From 754e2572389557ac17927fa1f5d917e9d471928b Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Wed, 03 Feb 2016 21:26:54 +0000 Subject: [PATCH] Install Ansible and git --- Dockerfile | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index cfa3e8a..85abef3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,18 +1,20 @@ FROM debian:latest ENV DEBIAN_FRONTEND noninteractive -ENV RUNDECK_VERSION 2.6.2-1-GA EXPOSE 4440 +ADD *-gpg.key /root/ +RUN echo "deb http://dl.bintray.com/rundeck/rundeck-deb /" > /etc/apt/sources.list.d/rundeck.list \ + && echo "deb http://ppa.launchpad.net/ansible/ansible/ubuntu trusty main" \ + > /etc/apt/sources.list.d/ansible.list \ + && cat /root/*-gpg.key | apt-key add - + RUN apt-get -y update \ && apt-get -y upgrade \ - && apt-get -y install openssh-client default-jre-headless wget \ + && apt-get -y install openssh-client default-jre-headless wget rundeck \ + ansible git python-netaddr python3-netaddr \ && apt-get -y clean - -RUN wget -O /tmp/rundeck.deb http://download.rundeck.org/deb/rundeck-${RUNDECK_VERSION}.deb \ - && dpkg -i /tmp/rundeck.deb \ - && rm -f /tmp/rundeck.deb RUN mkdir /etc/rundeck-org \ && mv /etc/rundeck/* /etc/rundeck-org/ -- Gitblit v1.9.1