Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/scott-the-programmer/awscli-container
This repository contains a dockerfile that is used to build a minimal docker image with the AWS CLI installed.
https://github.com/scott-the-programmer/awscli-container
Last synced: 16 days ago
JSON representation
This repository contains a dockerfile that is used to build a minimal docker image with the AWS CLI installed.
- Host: GitHub
- URL: https://github.com/scott-the-programmer/awscli-container
- Owner: scott-the-programmer
- License: mit
- Created: 2019-09-15T09:12:33.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-02-25T21:35:08.000Z (almost 4 years ago)
- Last Synced: 2024-11-07T20:55:13.603Z (2 months ago)
- Language: Dockerfile
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# awscli-container
![Build](https://img.shields.io/docker/cloud/build/scottam/awscli)
![Docker Pulls](https://img.shields.io/docker/pulls/scottam/awscli)
![MIT Licence](https://img.shields.io/github/license/scottalexandermurray/awscli-container)This repository contains dockerfiles that are used to build a minimal docker image with the AWS CLI installed.
The reason I decided to create this is to allow processes (in particular, CI/CD) to leverage this image when interacting with AWS
You can check out the DockerHub page [here](https://hub.docker.com/r/scottam/awscli)!
## How-To
### Pull
```sh
docker pull scottam/awscli:latest
```### Run
```sh
docker run -e AWS_ACCESS_KEY_ID=*access_key* -e AWS_SECRET_ACCESS_KEY=*secret_key* -e AWS_DEFAULT_REGION=*region* scottam/awscli:latest aws s3 ls
```### Poke around
```sh
docker run -it scottam/awscli:latest sh
```