From a4a643bb10e893bc98ac0c80668e2fa25be3192b Mon Sep 17 00:00:00 2001 From: Max Regan Date: Sun, 7 Jun 2020 07:40:03 +0000 Subject: [PATCH] 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. --- Dockerfile | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 81647e3..a14f90d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,15 +2,10 @@ FROM alpine:3 RUN apk -v --update add \ bash \ - python \ - py-pip \ - groff \ - less \ - mailcap \ + aws-cli \ jq \ wget \ && \ - pip install --upgrade awscli==1.14.5 s3cmd==2.0.1 python-magic && \ apk -v --purge del py-pip && \ rm /var/cache/apk/* @@ -22,4 +17,4 @@ RUN echo -e "*/10 * * * * /bin/bash update-dns.sh >> /var/log/cron.log 2>&1" > / RUN crontab /etc/cron.d/dns-cron RUN touch /var/log/cron.log -CMD crond && tail -f /var/log/cron.log \ No newline at end of file +CMD crond && tail -f /var/log/cron.log