update more images to use alpine

Signed-off-by: Jessica Frazelle <princess@docker.com>
This commit is contained in:
Jessica Frazelle
2015-07-26 21:46:34 -07:00
parent d96d372830
commit 22b7de93b6
6 changed files with 25 additions and 24 deletions

View File

@@ -1,8 +1,13 @@
FROM python:2.7.8
FROM alpine:latest
MAINTAINER Jessica Frazelle <jess@docker.com>
RUN apt-get update && apt-get install -y groff
RUN pip install awscli
RUN apk update && apk add \
ca-certificates \
groff \
python \
py-pip \
&& rm -rf /var/cache/apk/* \
&& 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