Simple build for the awscli util as a replacement for a local installation of the utility
Find a file
Travis Automated Update 09e2c3b695 awscli 1.16.11
2018-09-11 02:47:39 +00:00
.gitignore Basic files for building awscli image 2016-06-24 23:41:05 +02:00
.travis.yml Basic files for building awscli image 2016-06-24 23:41:05 +02:00
build.sh Switch back to using master as default branch 2018-01-06 01:41:46 +01:00
Dockerfile Switch to Python 3.6 2016-08-09 17:16:21 +02:00
README.md Basic files for building awscli image 2016-06-24 23:41:05 +02:00
requirements.txt awscli 1.16.11 2018-09-11 02:47:39 +00:00

Luzifer / awscli

This repository contains a simple build for the awscli util as a replacement for a local installation of the utility.

Usage

$ docker run --rm -ti \
    -v "${HOME}/.aws:/root/.aws" \
    -e "AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}" \
    -e "AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}" \
    -e "AWS_DEFAULT_REGION=${AWS_DEFAULT_REGION}" \
    quay.io/luzifer/awscli help

Or you could create a shell alias for that command and use it like a local installation of awscli:

$ alias aws='docker run --rm -ti -v "${HOME}/.aws:/root/.aws" -e "AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}" -e "AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}" -e "AWS_DEFAULT_REGION=${AWS_DEFAULT_REGION}" quay.io/luzifer/awscli'
$ aws help