dockerfiles/awscli/Dockerfile

11 lines
367 B
Docker
Raw Normal View History

2014-10-09 19:38:11 +02:00
FROM python:2.7.8
MAINTAINER Jessica Frazelle <jess@docker.com>
RUN apt-get update && apt-get install -y groff
2014-10-09 19:38:11 +02:00
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
2014-10-09 20:39:37 +02:00
2014-10-09 19:38:11 +02:00
ENTRYPOINT [ "aws" ]