diff --git a/Dockerfile b/Dockerfile index 23809e0..862007f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ RUN apk -v --update add \ less \ mailcap \ && \ - pip install --upgrade awscli s3cmd python-magic && \ + pip install --upgrade awscli==1.11.188 s3cmd==2.0.1 python-magic && \ apk -v --purge del py-pip && \ rm /var/cache/apk/* VOLUME /root/.aws diff --git a/awscli-latest.sh b/awscli-latest.sh new file mode 100755 index 0000000..423ddf8 --- /dev/null +++ b/awscli-latest.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +docker run --rm python:alpine pip search awscli | grep "^awscli " | sed "s/awscli (\(.*\)).*/\1/" diff --git a/s3cmd-latest.sh b/s3cmd-latest.sh new file mode 100755 index 0000000..7c3fa3e --- /dev/null +++ b/s3cmd-latest.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +docker run --rm python:alpine pip search s3cmd | grep "^s3cmd " | sed "s/s3cmd (\(.*\)).*/\1/"