Install awscli from alpine in builder

This commit is contained in:
Simon Bruder 2020-07-23 18:53:35 +02:00
parent bff3b42838
commit d36e99e27f
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -3,6 +3,7 @@ FROM docker
ARG ANSIBLE_VERSION
RUN apk add --no-cache \
aws-cli \
ca-certificates \
coreutils \
gnupg \
@ -23,7 +24,6 @@ RUN apk add --no-cache \
python3-dev \
&& pip3 install --upgrade pip \
&& pip3 install ansible=="$ANSIBLE_VERSION" \
&& pip3 install awscli \
&& apk del .build-deps
ARG PACKER_VERSION