dockerfiles/awscli/Dockerfile
Jess Frazelle c4ff0cf58c
cleanup maintainers
Signed-off-by: Jess Frazelle <me@jessfraz.com>
2016-09-19 15:25:05 -07:00

21 lines
454 B
Docker

FROM alpine:latest
MAINTAINER Jessie Frazelle <jess@linux.com>
RUN apk --no-cache add \
ca-certificates \
groff \
less \
python \
py-pip \
&& pip install awscli \
&& mkdir -p /root/.aws \
&& { \
echo '[default]'; \
echo 'output = json'; \
echo 'region = $AWS_DEFAULT_REGION'; \
echo 'aws_access_key_id = $AMAZON_ACCESS_KEY_ID'; \
echo 'aws_secret_access_key = $AMAZON_SECRET_ACCESS_KEY'; \
} > /root/.aws/config
ENTRYPOINT [ "aws" ]