Use python3; Update ansible

This commit is contained in:
jalr 2019-05-23 20:00:13 +02:00
parent 69b7cace48
commit 0097e0a85b

View file

@ -6,7 +6,7 @@ RUN apk add --no-cache \
mktorrent \ mktorrent \
openssh-client \ openssh-client \
openssl \ openssl \
python2 \ python3 \
rsync \ rsync \
squashfs-tools \ squashfs-tools \
&& apk add --no-cache --virtual .build-deps \ && apk add --no-cache --virtual .build-deps \
@ -15,10 +15,9 @@ RUN apk add --no-cache \
make \ make \
musl-dev \ musl-dev \
openssl-dev \ openssl-dev \
py2-pip \ python3-dev \
python-dev \ && pip3 install --upgrade pip \
&& pip install --upgrade pip \ && pip3 install ansible==2.8.0 \
&& pip install ansible==2.7.0 \
&& apk del .build-deps && apk del .build-deps
ARG PACKER_VERSION ARG PACKER_VERSION