Last active
July 19, 2017 17:10
-
-
Save denistex/47c6c07cbe9cb198d35d7e088f6c5208 to your computer and use it in GitHub Desktop.
Containerized version of AWS CLI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
docker run --rm -it -v ~/.aws:/root/.aws awscli $@ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Containerized version of AWS CLI. | |
# | |
# docker build -t awscli . | |
# | |
FROM debian:9 | |
MAINTAINER Denis T. <[email protected]> | |
RUN apt-get update && \ | |
apt-get install --no-install-recommends -y awscli | |
VOLUME ["/root/.aws"] | |
ENTRYPOINT ["/usr/bin/aws"] | |
CMD [] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment