From 4d590512c0a4de81de65a3839be0ae12cb8e7309 Mon Sep 17 00:00:00 2001 From: Drew Freyling Date: Sat, 18 Jan 2020 19:15:54 +1000 Subject: [PATCH] feat: add support for aws cli 1.17.5 --- 1.17.5/Dockerfile | 11 +++++++++++ 1.17.5/docker-compose.yml | 9 +++++++++ README.md | 3 ++- 3 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 1.17.5/Dockerfile create mode 100644 1.17.5/docker-compose.yml diff --git a/1.17.5/Dockerfile b/1.17.5/Dockerfile new file mode 100644 index 0000000..ad73ae0 --- /dev/null +++ b/1.17.5/Dockerfile @@ -0,0 +1,11 @@ +FROM python:3.8.1-alpine + +# Versions: https://pypi.python.org/pypi/awscli#downloads +ENV AWS_CLI_VERSION 1.17.5 + +RUN apk --no-cache update && \ + apk --no-cache add ca-certificates groff less && \ + pip3 --no-cache-dir install awscli==${AWS_CLI_VERSION} && \ + rm -rf /var/cache/apk/* + +WORKDIR /data diff --git a/1.17.5/docker-compose.yml b/1.17.5/docker-compose.yml new file mode 100644 index 0000000..e9bf3a1 --- /dev/null +++ b/1.17.5/docker-compose.yml @@ -0,0 +1,9 @@ +version: '2' +services: + aws: + image: garland/aws-cli-docker + entrypoint: aws + environment: + - AWS_ACCESS_KEY_ID + - AWS_SECRET_ACCESS_KEY + - AWS_DEFAULT_REGION diff --git a/README.md b/README.md index 0bacd07..634e362 100644 --- a/README.md +++ b/README.md @@ -13,10 +13,11 @@ - [`0.2` (*0.2/Dockerfile*)](https://github.com/sekka1/aws-cli-docker/blob/0.2/0.2/Dockerfile) - [`1.15.47` (*1.15.47/Dockerfile*)](https://github.com/sekka1/aws-cli-docker/tree/master/1.15.47) - [`1.16.140` (*1.16.140/Dockerfile*)](https://github.com/sekka1/aws-cli-docker/tree/master/1.16.140) +- [`1.17.5` (*1.16.140/Dockerfile*)](https://github.com/sekka1/aws-cli-docker/tree/master/1.17.5) # AWS CLI Version -* [1.16.140](https://github.com/aws/aws-cli/releases/tag/1.16.140) +* [1.17.5](https://github.com/aws/aws-cli/releases/tag/1.17.5) # Build