Install ansible with pip
This commit is contained in:
parent
31ec2cedb9
commit
1ace852c7c
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user