Use awscli from Alpine

Python2 is no longer in the Alpine repos. Skip pip and just
use the awscli from Alpine, which is on Python 3.
This commit is contained in:
2020-06-07 07:40:03 +00:00
parent 06ae4fe078
commit a4a643bb10

View File

@@ -2,15 +2,10 @@ FROM alpine:3
RUN apk -v --update add \ RUN apk -v --update add \
bash \ bash \
python \ aws-cli \
py-pip \
groff \
less \
mailcap \
jq \ jq \
wget \ wget \
&& \ && \
pip install --upgrade awscli==1.14.5 s3cmd==2.0.1 python-magic && \
apk -v --purge del py-pip && \ apk -v --purge del py-pip && \
rm /var/cache/apk/* rm /var/cache/apk/*