mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-02-15 14:03:32 +02:00
update hass
This commit is contained in:
parent
779e6f5e31
commit
4640418861
@ -2,22 +2,27 @@
|
|||||||
# Dockerfile for hass (Home Assistant)
|
# Dockerfile for hass (Home Assistant)
|
||||||
#
|
#
|
||||||
|
|
||||||
FROM alpine
|
FROM alpine:3
|
||||||
MAINTAINER EasyPi Software Foundation
|
MAINTAINER EasyPi Software Foundation
|
||||||
|
|
||||||
|
ENV HASS_VERSION=0.102.1
|
||||||
|
ENV HASS_CLI_VERSION=3.1.0
|
||||||
|
ENV HASS_CLI_ARCH=amd64
|
||||||
|
|
||||||
RUN set -xe \
|
RUN set -xe \
|
||||||
&& apk update \
|
&& apk update \
|
||||||
&& apk add --no-cache ca-certificates \
|
&& apk add --no-cache \
|
||||||
build-base \
|
ca-certificates \
|
||||||
libffi-dev \
|
build-base \
|
||||||
linux-headers \
|
libffi-dev \
|
||||||
openssl-dev \
|
linux-headers \
|
||||||
python3 \
|
openssl-dev \
|
||||||
python3-dev \
|
python3 \
|
||||||
&& pip3 install --no-cache-dir homeassistant \
|
python3-dev \
|
||||||
&& wget https://github.com/home-assistant/hassio-cli/releases/download/1.3.1/hassio_armhf -O /usr/local/bin/hassio
|
&& pip3 install --no-cache-dir homeassistant==${HASS_VERSION} \
|
||||||
|
&& 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
|
||||||
|
|
||||||
VOLUME /etc/hass
|
VOLUME /etc/hass
|
||||||
EXPOSE 8123
|
EXPOSE 8123
|
||||||
|
|
||||||
ENTRYPOINT ["hass", "--config", "/etc/hass"]
|
ENTRYPOINT ["hass", "--config", "/etc/hass"]
|
||||||
|
@ -5,8 +5,9 @@
|
|||||||
FROM arm32v7/alpine:3
|
FROM arm32v7/alpine:3
|
||||||
MAINTAINER EasyPi Software Foundation
|
MAINTAINER EasyPi Software Foundation
|
||||||
|
|
||||||
ENV HASS_VERSION=0.100.2
|
ENV HASS_VERSION=0.102.1
|
||||||
ENV HASS_CLI_VERSION=3.1.0
|
ENV HASS_CLI_VERSION=3.1.0
|
||||||
|
ENV HASS_CLI_ARCH=armhf
|
||||||
|
|
||||||
RUN set -xe \
|
RUN set -xe \
|
||||||
&& apk update \
|
&& apk update \
|
||||||
@ -19,7 +20,8 @@ RUN set -xe \
|
|||||||
python3 \
|
python3 \
|
||||||
python3-dev \
|
python3-dev \
|
||||||
&& pip3 install --no-cache-dir homeassistant==${HASS_VERSION} \
|
&& pip3 install --no-cache-dir homeassistant==${HASS_VERSION} \
|
||||||
&& wget https://github.com/home-assistant/hassio-cli/releases/download/${HASS_CLI_VERSION}/hassio_armhf -O /usr/local/bin/hassio
|
&& 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
|
||||||
|
|
||||||
VOLUME /etc/hass
|
VOLUME /etc/hass
|
||||||
EXPOSE 8123
|
EXPOSE 8123
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
FROM balenalib/rpi-raspbian:buster
|
FROM balenalib/rpi-raspbian:buster
|
||||||
MAINTAINER EasyPi Software Foundation
|
MAINTAINER EasyPi Software Foundation
|
||||||
|
|
||||||
ENV HASS_VERSION=0.100.2
|
ENV HASS_VERSION=0.102.1
|
||||||
ENV HASS_CLI_VERSION=3.1.0
|
ENV HASS_CLI_VERSION=3.1.0
|
||||||
|
|
||||||
RUN set -xe \
|
RUN set -xe \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user