1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-14 11:23:02 +02:00
dockerfiles/hass/Dockerfile

24 lines
655 B
Docker
Raw Normal View History

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 \
2018-09-01 07:24:53 +02:00
libffi-dev \
2016-10-31 14:30:17 +02:00
linux-headers \
2018-09-01 07:24:53 +02:00
openssl-dev \
2016-10-31 14:30:17 +02:00
python3 \
python3-dev \
2018-04-16 12:54:48 +02:00
&& pip3 install --no-cache-dir homeassistant \
2018-07-22 14:01:56 +02:00
&& wget https://github.com/home-assistant/hassio-cli/releases/download/1.3.1/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"]