Skip to content

Instantly share code, notes, and snippets.

@denistex
Last active July 19, 2017 17:10
Show Gist options
  • Save denistex/47c6c07cbe9cb198d35d7e088f6c5208 to your computer and use it in GitHub Desktop.
Save denistex/47c6c07cbe9cb198d35d7e088f6c5208 to your computer and use it in GitHub Desktop.
Containerized version of AWS CLI
#!/bin/bash
docker run --rm -it -v ~/.aws:/root/.aws awscli $@
# Containerized version of AWS CLI.
#
# docker build -t awscli .
#
FROM debian:9
MAINTAINER Denis T. <dev@denis-it.com>
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