Use python3; Update ansible
This commit is contained in:
parent
69b7cace48
commit
0097e0a85b
1 changed files with 4 additions and 5 deletions
|
|
@ -6,7 +6,7 @@ RUN apk add --no-cache \
|
|||
mktorrent \
|
||||
openssh-client \
|
||||
openssl \
|
||||
python2 \
|
||||
python3 \
|
||||
rsync \
|
||||
squashfs-tools \
|
||||
&& apk add --no-cache --virtual .build-deps \
|
||||
|
|
@ -15,10 +15,9 @@ RUN apk add --no-cache \
|
|||
make \
|
||||
musl-dev \
|
||||
openssl-dev \
|
||||
py2-pip \
|
||||
python-dev \
|
||||
&& pip install --upgrade pip \
|
||||
&& pip install ansible==2.7.0 \
|
||||
python3-dev \
|
||||
&& pip3 install --upgrade pip \
|
||||
&& pip3 install ansible==2.8.0 \
|
||||
&& apk del .build-deps
|
||||
|
||||
ARG PACKER_VERSION
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue