Skip to content
This repository was archived by the owner on Feb 12, 2022. It is now read-only.

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

awscli

Docker Cloud Build Status Docker Image Size

Utility container built on Alpine 3.11 for interaction with AWS services.

Includes recent AWS client tools (awscli version~=1.18), to interact with the AWS platform via command line, (AWS CloudFormation helper scripts)[https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-helper-scripts-reference.html], and curl with SSL support (so openssl plus ca-certificates) to allow scripting HTTP/HTTPS calls (e.g. to query metadata).

Build locally

$ cd docker-awscli
$ docker build -t countingup/awscli .

Run (will pull from dockerhub)

$ docker run -it countingup/awscli aws help
$ docker run -it countingup/awscli curl https://www.google.com

Shell scripts can be used to make these commands easily available from the host machine e.g.

$ echo 'docker run --rm countingup/awscli curl "$@"' > /usr/bin/curl && chmod +x /usr/bin/curl
$ echo 'docker run --rm countingup/awscli aws "$@"' > /usr/bin/aws && chmod +x /usr/bin/aws

S3 file operations may require bind mounting a host path as a volume in the container e.g.

$ echo 'docker run --rm -v /tmp:/tmp countingup/awscli aws "$@"' > /usr/bin/aws && chmod +x /usr/bin/aws

About

Utility container featuring AWS cli and curl

Topics

Resources

Stars

0 stars

Watchers

5 watching

Forks

Releases

Packages

Contributors

Languages