Docker container with aws cli and other useful tools for use in CI systems
1.4K
Docker container with aws cli and other useful tools for use in CI systems
This container can be used either as a way to invoke aws cli with Docker, or as a CI image you can clone your repo into and utilize a handful of other helpers:
It assumes AWS keys are available in the usual manner:
-v <path to profile>:/root/.aws/)For example, on GitLab CI you could do something like:
variables:
S3_BUCKET: some bucket
stages:
- test
- deploy
image: away-team/docker-awscli
lint:
stage: test
script:
- find . -type f -name "*.json" -exec jsonlint {} \;
deploy:
stage: deploy
script:
- aws s3 sync . s3://${S3_BUCKET}
Since this container has a few uses it does not have a default command, you will need to invoke it like:
docker run away-team/docker-awscli aws <command>
Content type
Image
Digest
Size
37.2 MB
Last updated
over 8 years ago
docker pull awayteam/docker-awscli