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

Update Dockerfile

This commit is contained in:
Pascal Vizeli
2019-05-03 12:18:27 +02:00
committed by GitHub
parent ce99b3e259
commit 749d45bf13

View File

@@ -16,12 +16,9 @@ RUN apk add --no-cache \
# Install requirements
COPY requirements.txt /usr/src/
RUN apk add --no-cache --virtual .build-dependencies \
build-base \
&& export MAKEFLAGS="-j$(nproc)" \
RUN export MAKEFLAGS="-j$(nproc)" \
&& pip3 install --no-cache-dir --find-links https://wheels.hass.io/alpine-3.9/${BUILD_ARCH}/ \
-r /usr/src/requirements.txt \
&& apk del .build-dependencies \
&& rm -f /usr/src/requirements.txt
# Install HassIO