1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2025-12-24 12:29:08 +00:00

Cleanup docker image (#617)

This commit is contained in:
Pascal Vizeli
2018-08-04 00:41:14 +02:00
committed by GitHub
parent 858c7a1fa7
commit ec823edd8f

View File

@@ -1,9 +1,6 @@
ARG BUILD_FROM
FROM $BUILD_FROM
# Add env
ENV LANG C.UTF-8
# Setup base
COPY requirements.txt /usr/src/
RUN apk add --no-cache \
@@ -15,7 +12,7 @@ RUN apk add --no-cache \
&& apk add --no-cache --virtual .build-dependencies \
make \
g++ \
&& pip3 install -r /usr/src/requirements.txt \
&& pip3 install --no-cache-dir -r /usr/src/requirements.txt \
&& apk del .build-dependencies \
&& rm -f /usr/src/requirements.txt