1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-24 08:52:31 +02: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

View File

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

View File

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