1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 11:58:47 +00:00
This commit is contained in:
kev 2016-10-31 20:30:17 +08:00
parent 4bac0d20ac
commit 86de180eff
2 changed files with 18 additions and 4 deletions

@ -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

@ -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