2016-10-31 05:28:34 +02:00
|
|
|
#
|
|
|
|
# Dockerfile for hass (Home Assistant)
|
|
|
|
#
|
|
|
|
|
|
|
|
FROM alpine
|
|
|
|
MAINTAINER EasyPi Software Foundation
|
|
|
|
|
|
|
|
RUN set -xe \
|
2017-04-08 07:29:38 +02:00
|
|
|
&& apk update \
|
2017-04-16 06:40:40 +02:00
|
|
|
&& apk add --no-cache ca-certificates \
|
|
|
|
build-base \
|
2016-10-31 14:30:17 +02:00
|
|
|
linux-headers \
|
|
|
|
python3 \
|
|
|
|
python3-dev \
|
2018-04-16 12:54:48 +02:00
|
|
|
&& pip3 install --no-cache-dir homeassistant \
|
2018-05-01 06:27:46 +02:00
|
|
|
&& wget https://github.com/home-assistant/hassio-cli/releases/download/1.3.0/hassio_armhf -O /usr/local/bin/hassio
|
2016-10-31 05:28:34 +02:00
|
|
|
|
|
|
|
VOLUME /etc/hass
|
|
|
|
EXPOSE 8123
|
|
|
|
|
|
|
|
ENTRYPOINT ["hass", "--config", "/etc/hass"]
|