Containerized AWS CLI on alpine to avoid requiring the aws cli to be installed on CI machines.
270
Fork of Mesosphere's AWS CLI in Docker with various improvements.
docker pull imichael/aws-cli
Automated build on Docker Hub
Configure:
~/.aws/credentials~/.aws/configUpload file to S3:
./aws.sh s3 cp ../dcos-centos-virtualbox-0.2.1.box s3://downloads.dcos.io/dcos-vagrant/
Caveat: Because aws.sh mounts the current directory as /project, paths to local files must be relative to the current directory.
To use aws.sh as a drop-in replacement for calls to the aws-cli, use one of the following methods:
Add an alias to your shell:
alias aws='docker run --rm -t $(tty &>/dev/null && echo "-i") -e "AWS_DEFAULT_REGION=us-east-2" -v "$(pwd):/project" -v "${HOME}/.aws:/root/.aws" imichael/aws-cli'
AWS CLI Docs: https://aws.amazon.com/documentation/cli/
Content type
Image
Digest
Size
31.8 MB
Last updated
over 7 years ago
docker pull imichael/aws-cli