Docker image containing AWS CLI, AWS Shell, and some scripts to ease AWS deployments.

Dependencies

  • Docker

Usage

Build Locally

If you want to build and use your own local image

# build image locally
$ make build
# go inside the container
$ make shell
# run lint check for the image
$ make lint

Environment Variables

AWS_ACCESS_KEY_ID= AWS_SECRET_ACCESS_KEY= AWS_DEFAULT_REGION= AWS_ACCOUNT_ID=

Update Docker image

  1. Change (or not) VERSION in Makefile
  2. Build and test locally
  3. Commit and push the changes
  4. Tag the commit with the command make gitTag
  5. Go to hub.docker.com
  6. In Build Details tab, you should now see the new tag kicking off

Docker image

The Docker image has the following:

  • Alpine
  • aws-cli
  • aws-shell
  • envsubst: quite useful to create file based on a template using env vars