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

29 lines
729 B
Docker
Raw Normal View History

2016-10-31 05:28:34 +02:00
#
# Dockerfile for hass-arm (Home Assistant)
#
2019-10-20 05:31:17 +02:00
FROM arm32v7/alpine:3
2016-10-31 05:28:34 +02:00
MAINTAINER EasyPi Software Foundation
2019-11-23 02:31:55 +02:00
ENV HASS_VERSION=0.102.1
2019-10-20 05:31:17 +02:00
ENV HASS_CLI_VERSION=3.1.0
2019-11-23 02:31:55 +02:00
ENV HASS_CLI_ARCH=armhf
2019-10-20 05:31:17 +02:00
2016-10-31 05:28:34 +02:00
RUN set -xe \
2017-04-08 07:29:38 +02:00
&& apk update \
2019-10-20 05:31:17 +02:00
&& apk add --no-cache \
ca-certificates \
build-base \
libffi-dev \
linux-headers \
openssl-dev \
python3 \
python3-dev \
&& pip3 install --no-cache-dir homeassistant==${HASS_VERSION} \
2019-11-23 02:31:55 +02:00
&& wget https://github.com/home-assistant/hassio-cli/releases/download/${HASS_CLI_VERSION}/hassio_${HASS_CLI_ARCH} -O /usr/local/bin/hassio \
&& chmod +x /usr/local/bin/hassio
2016-10-31 05:28:34 +02:00
VOLUME /etc/hass
EXPOSE 8123
ENTRYPOINT ["hass", "--config", "/etc/hass"]