This Docker image builds on top of Alpine Linux and contains:
- AWS CLI v2
- babashka; since scripting the AWS CLI in
ash
is pretty painful.
docker run \
-e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY \
vouchio/aws-cli \
aws --region us-east-1 ec2 describe-instances
See Docker Hub for available versions. If you need a specific version to be available on the docker registry, create an issue.
The version is the concatenation of aws-cli-version
_babashka-version
.
AWS CLI on Alpine idea taken from taken from aws/aws-cli#3553 (comment)