Last active
April 18, 2019 14:19
-
-
Save pwaller/d61df9109ed716e1d8b7 to your computer and use it in GitHub Desktop.
Toolbox
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
# usage: | |
# docker build -t aws https://gist.github.com/d61df9109ed716e1d8b7.git | |
# alias dr='docker run -ti --rm -w $PWD -v $PWD:$PWD -v $HOME:$HOME -v /etc/passwd:/etc/passwd -v /etc/group:/etc/group -u $(id -u):$(id -g)' | |
# alias aws='dr aws aws' | |
FROM ubuntu:16.04 | |
RUN apt-get update && apt-get install -y python3-pip git jq curl && pip3 install awscli | |
RUN mkdir /data && chown nobody /data | |
WORKDIR /data | |
USER nobody | |
ENV LC_ALL=C.UTF-8 AWS_DEFAULT_REGION=eu-west-1 AWS_REGION=eu-west-1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment