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 FROM debian:8
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y --no-install-recommends \ && apt-get install -yq --no-install-recommends \
software-properties-common \ build-essential \
&& apt-add-repository ppa:ansible/ansible \ libffi-dev \
&& apt-get update \ libssl-dev \
&& apt-get install -y --no-install-recommends \ python \
ansible \ python-dev \
&& apt-get autoclean python-pip \
&& apt-get autoclean \
&& pip install --upgrade ansible
WORKDIR /site WORKDIR /site