Sign inSign up

ghellings/docker-aws-cli

By ghellings

•Updated over 6 years ago

Alpine Linux with AWS-CLI installed. Includes a script that configures aws-cli profiles from ENVs.

Image
0

10K+

ghellings/docker-aws-cli repository overview

⁠AWS-CLI Docker

Alpine Linux with AWS-CLI installed.

⁠Usage

Includes a ENTRYPOINT script that configures aws-cli profiles from ENVs. Prefix PROFILENAME_ to the following ENVs and the ENTRYPOINT script will configure those profiles.

  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY
  • REGION
  • OUTPUT

⁠Example

docker run -e TEST1_AWS_ACCESS_KEY_ID="XXXXX" -e TEST1_AWS_SECRET_ACCESS_KEY="XXXXX" -e default_AWS_ACCESS_KEY_ID="XXXXX" -e default_AWS_SECRET_ACCESS_KEY="XXXXX" -e default_REGION="us-east-1" -ti ghellings/aws-cli aws s3 ls --profile TEST1

Tag summary

Content type

Image

Digest

Size

37 MB

Last updated

over 6 years ago

docker pull ghellings/docker-aws-cli