A simple docker container with the AWS CLI
50K+
AWS SAM CLI is a docker image created to make the AWS/SAM CLI tools available during pipeline processes. Due to the nature of usage, it is the simplest process to not require a docker login prior to each usage of this image, and for this reason it is hosted on Docker Hub.
Reasons for using:
FROM python:3.7-stretch
ENV PATH "$PATH:/root/.local/bin"
RUN pip install awscli --upgrade --user && \
pip install --upgrade --user aws-sam-cli
validate:
image: somedeveloper/aws-cli
stage: test
environment:
AWS_ACCESS_KEY_ID: ABC123
AWS_SECRET_ACCESS_KEY: DEF456
AWS_DEFAULT_REGION: us-west-2
script:
- sam validate
docker run --rm -it somedeveloper/aws-cli:latest -e AWS_ACCESS_KEY_ID=ABC123 -e AWS_SECRET_ACCESS_KEY=DEF456 -e AWS_DEFAULT_REGION=us-west-2 "/bin/bash"
Content type
Image
Digest
Size
375.2 MB
Last updated
over 6 years ago
docker pull somedeveloper/aws-cli