convert some to alpine

Signed-off-by: Jessica Frazelle <princess@docker.com>
This commit is contained in:
Jessica Frazelle
2015-07-26 20:46:56 -07:00
parent 5a9daf833a
commit d96d372830
6 changed files with 38 additions and 20 deletions

View File

@@ -1,9 +1,16 @@
FROM python:2.7.8
FROM alpine:latest
MAINTAINER Jessica Frazelle <jess@docker.com>
RUN pip install boto
RUN apk update && apk add \
ca-certificates \
openssl \
python \
python-dev \
py-pip \
build-base \
&& rm -rf /var/cache/apk/* \
&& pip install boto
ADD reset-cache.py /bin/reset-cache
RUN chmod +x /bin/reset-cache
COPY ./reset-cache.py /bin/reset-cache.py
CMD [ "reset-cache" ]
CMD [ "/usr/bin/python", "/bin/reset-cache.py" ]

0
cf-reset-cache/reset-cache.py Normal file → Executable file
View File