Install ansible with pip

This commit is contained in:
Paul Voss 2016-08-06 16:12:11 +02:00
parent 31ec2cedb9
commit 1ace852c7c

View File

@ -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