Skip to content

hufon/docker-aws-tools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

AWS CLI in Docker

Containerized AWS CLI and other tools based on latest python to avoid requiring the aws cli to be installed on CI machines.

Build

docker build -t stevehouel/docker-aws-tools .

Automated build on Docker Hub

DockerHub Badge

Usage

Configure:

export AWS_ACCESS_KEY_ID="<id>"
export AWS_SECRET_ACCESS_KEY="<key>"
export AWS_DEFAULT_REGION="<region>"

Install

Add an alias to your shell:

alias aws='docker run --rm -e "AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}" -e "AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}" -e "AWS_DEFAULT_REGION=${AWS_DEFAULT_REGION}" -v "$(pwd):/app" stevehouel/docker-aws-tools'

Maintenance

  • The Docker image build & publish is automated by DockerHub for master commits and tags.

References

AWS CLI Docs: https://aws.amazon.com/documentation/cli/ AWS SAM CLI Docs: https://docs.aws.amazon.com/lambda/latest/dg/sam-cli-requirements.html

About

Docker image based on latest python version which contains awscli, aws-sam-cli and boto3 tools

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages