dockerfiles/awscli/Dockerfile
Jessica Frazelle 7fad2c42b5 t
2014-10-09 11:41:28 -07:00

9 lines
317 B
Docker

FROM python:2.7.8
MAINTAINER Jessica Frazelle <jess@docker.com>
RUN pip install awscli
RUN mkdir -p /root/.aws && /bin/echo -e '[default]\noutput = json\nregion = $AMAZON_REGION\naws_access_key_id = $AMAZON_ACCESS_KEY_ID\naws_secret_access_key = $AMAZON_SECRET_ACCESS_KEY' > /root/.aws/config
ENTRYPOINT [ "aws" ]