From 86de180eff6ff307211e6bcc0e73933b231c41c6 Mon Sep 17 00:00:00 2001 From: kev Date: Mon, 31 Oct 2016 20:30:17 +0800 Subject: [PATCH] fix hass --- hass/Dockerfile | 11 +++++++++-- hass/arm/Dockerfile | 11 +++++++++-- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/hass/Dockerfile b/hass/Dockerfile index 7948195..7c7f961 100644 --- a/hass/Dockerfile +++ b/hass/Dockerfile @@ -6,8 +6,15 @@ FROM alpine MAINTAINER EasyPi Software Foundation RUN set -xe \ - && apk add --no-cache python3 \ - && python3 -m pip install --no-cache-dir homeassistant + && apk add --no-cache build-base \ + linux-headers \ + python3 \ + python3-dev \ + && pip3 install --no-cache-dir homeassistant==0.31.1 \ + netdisco==0.7.2 \ + && apk del build-base \ + linux-headers \ + python3-dev VOLUME /etc/hass EXPOSE 8123 diff --git a/hass/arm/Dockerfile b/hass/arm/Dockerfile index 85e6070..1451183 100644 --- a/hass/arm/Dockerfile +++ b/hass/arm/Dockerfile @@ -6,8 +6,15 @@ FROM easypi/alpine-arm MAINTAINER EasyPi Software Foundation RUN set -xe \ - && apk add --no-cache python3 \ - && python3 -m pip install --no-cache-dir homeassistant + && apk add --no-cache build-base \ + linux-headers \ + python3 \ + python3-dev \ + && pip3 install --no-cache-dir homeassistant==0.31.1 \ + netdisco==0.7.2 \ + && apk del build-base \ + linux-headers \ + python3-dev VOLUME /etc/hass EXPOSE 8123