mirror of
https://github.com/github/docker-awscli
synced 2026-07-21 02:53:58 +00:00
No description
- Shell 42.1%
- Dockerfile 30.2%
- Makefile 27.7%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| script | ||
| .dockerignore | ||
| .gitignore | ||
| .travis.yml | ||
| Dockerfile | ||
| LICENSE.txt | ||
| Makefile | ||
| README.md | ||
| VERSION | ||
Another awscli
Lets build another aws cli tool for docker so we can hack. 🎉
Using the image
Here is some instructions on how to use it.
Setup a function
This works in bash
function awscli {
export AWS_CLI_IMAGE="${AWS_CLI_IMAGE:-wenlock/awscli}"
docker run -it --rm -e AWS_ACCESS_KEY_ID \
-e AWS_SECRET_ACCESS_KEY \
-e AWS_DEFAULT_REGION \
${AWS_CLI_IMAGE} aws $@
}
Don't like the latest version, just set export AWS_CLI_IMAGE=wenlock/awscli:1.11.189.
We'll get the aws version you ask for.
Setup credentials with environment vars
export AWS_ACCESS_KEY_ID=aaaabbbbbb
export AWS_SECRET_ACCESS_KEY=xxxxxxxxxx
export AWS_DEFAULT_REGION=us-east-1
Use it
For example:
eval $(aws ecr get-login)
Contributing to awscli
Want to help me, wow cool!
Fork this repo and submit a PR :D