Another aws cli for hacking
Перейти к файлу
Edward Raigosa 544b371447
Merge pull request #8 from wenlock/add_groff
add groff for help
2017-12-03 19:15:38 -08:00
script Update docker-push 2017-11-17 23:48:38 -08:00
.dockerignore lets make another awscli 2017-11-17 23:07:38 -08:00
.gitignore lets make another awscli 2017-11-17 23:07:38 -08:00
.travis.yml Update .travis.yml 2017-11-17 23:43:14 -08:00
Dockerfile add groff for help 2017-12-03 19:13:09 -08:00
LICENSE.txt lets make another awscli 2017-11-17 23:07:38 -08:00
Makefile lets make another awscli 2017-11-17 23:07:38 -08:00
README.md update the readme link to the build 2017-11-18 00:14:15 -08:00
VERSION lets make another awscli 2017-11-17 23:07:38 -08:00

README.md

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

Licensing

MIT