1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2025-12-20 02:18:59 +00:00

Speedup build

This commit is contained in:
Pascal Vizeli
2018-11-20 17:17:04 +01:00
committed by GitHub
parent 95179c30f7
commit ddb29ea9b1

View File

@@ -14,6 +14,7 @@ COPY requirements.txt /usr/src/
RUN apk add --no-cache --virtual .build-dependencies \ RUN apk add --no-cache --virtual .build-dependencies \
make \ make \
g++ \ g++ \
&& export MAKEFLAGS="-j$(nproc)" \
&& pip3 install --no-cache-dir -r /usr/src/requirements.txt \ && pip3 install --no-cache-dir -r /usr/src/requirements.txt \
&& apk del .build-dependencies \ && apk del .build-dependencies \
&& rm -f /usr/src/requirements.txt && rm -f /usr/src/requirements.txt