From 1ace852c7c0135e73d8822f351524fa3690c83f0 Mon Sep 17 00:00:00 2001 From: Paul Voss Date: Sat, 6 Aug 2016 16:12:11 +0200 Subject: [PATCH] Install ansible with pip --- Dockerfile.debian-8 | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/Dockerfile.debian-8 b/Dockerfile.debian-8 index 55dedb4..d10468f 100644 --- a/Dockerfile.debian-8 +++ b/Dockerfile.debian-8 @@ -1,13 +1,15 @@ FROM debian:8 RUN apt-get update \ - && apt-get install -y --no-install-recommends \ - software-properties-common \ - && apt-add-repository ppa:ansible/ansible \ - && apt-get update \ - && apt-get install -y --no-install-recommends \ - ansible \ - && apt-get autoclean + && apt-get install -yq --no-install-recommends \ + build-essential \ + libffi-dev \ + libssl-dev \ + python \ + python-dev \ + python-pip \ + && apt-get autoclean \ + && pip install --upgrade ansible WORKDIR /site