Switch to alpine image to reduce size

This commit is contained in:
Knut Ahlers 2016-08-09 17:11:33 +02:00
parent 561c6d993e
commit ae0607f907
Signed by: luzifer
GPG Key ID: DC2729FDD34BE99E

View File

@ -1,9 +1,11 @@
FROM python:2.7-onbuild
FROM python:2.7-alpine
COPY requirements.txt /tmp/
RUN set -ex \
&& apt-get update \
&& apt-get install -y groff \
&& apt-get autoremove -y
&& pip install --no-cache-dir -r /tmp/requirements.txt \
&& rm /tmp/requirements.txt \
&& apk --update add groff less
VOLUME ["/root/.aws"]