Simple build for the awscli util as a replacement for a local installation of the utility
Find a file
Luzifer.io Jenkins 109148d2d1 awscli 1.32.46
2024-02-21 20:04:33 +00:00
.gitignore Basic files for building awscli image 2016-06-24 23:41:05 +02:00
Dockerfile Upgrade to current python:3 version 2021-04-11 15:42:11 +02:00
LICENSE Add License 2018-09-11 12:51:15 +02:00
README.md Basic files for building awscli image 2016-06-24 23:41:05 +02:00
requirements.txt awscli 1.32.46 2024-02-21 20:04:33 +00:00
update-version.sh Move update script to consistent naming 2021-04-11 15:38:54 +02: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