Install ansible with pip and use version 2.4.3.0

This commit is contained in:
jalr 2018-03-20 23:26:53 +01:00
parent 99c8ca9e1a
commit 83cc71a599

View file

@ -1,12 +1,25 @@
FROM docker:dind
RUN apk add --no-cache \
ansible \
mktorrent \
openssh-client \
rsync \
squashfs-tools \
ca-certificates
ca-certificates \
libffi \
mktorrent \
openssh-client \
openssl \
python2 \
rsync \
squashfs-tools \
&& apk add --no-cache --virtual .build-deps \
gcc \
libffi-dev \
make \
musl-dev \
openssl-dev \
py2-pip \
python-dev \
&& pip install --upgrade pip \
&& pip install ansible==2.4.3.0 \
&& apk del .build-deps
ARG PACKER_VERSION