mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 19:32:30 +01:00
369d7d80a8
AWS cli needs Groff for help to work
11 lines
367 B
Docker
11 lines
367 B
Docker
FROM python:2.7.8
|
|
MAINTAINER Jessica Frazelle <jess@docker.com>
|
|
|
|
RUN apt-get update && apt-get install -y groff
|
|
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" ]
|