dockerfiles/awscli/Dockerfile

16 lines
427 B
Docker
Raw Normal View History

FROM alpine:latest
2014-10-09 19:38:11 +02:00
MAINTAINER Jessica Frazelle <jess@docker.com>
RUN apk update && apk add \
ca-certificates \
groff \
python \
py-pip \
&& rm -rf /var/cache/apk/* \
&& pip install awscli
2014-10-09 19:38:11 +02:00
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" ]