From 5dcf31285e2f8a78fbc50e6b2366de2c49589a29 Mon Sep 17 00:00:00 2001 From: Filip Pytloun Date: Fri, 21 Apr 2023 14:20:28 +0200 Subject: [PATCH] Update to hass 2023.4 --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5c721bb..3531836 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,5 @@ -FROM homeassistant/home-assistant:2022.8 +ARG HASS_VERSION=2023.4 +FROM homeassistant/home-assistant:$HASS_VERSION #COPY src/ /usr/src/homeassistant/homeassistant/ @@ -6,8 +7,9 @@ FROM homeassistant/home-assistant:2022.8 RUN mkdir -p /usr/local/config/custom_components && \ touch /usr/local/config/home-assistant.log && \ cd /usr/local/config && \ + echo $HASS_VERSION > .HA_VERSION && \ wget -q -O - https://install.hacs.xyz | bash - && \ - cat /usr/local/config/custom_components/hacs/manifest.json | jq -r .requirements[] | xargs /usr/local/bin/python3 -m pip install --quiet --no-cache-dir --upgrade --constraint /usr/src/homeassistant/homeassistant/package_constraints.txt --find-links https://wheels.home-assistant.io/alpine-3.10/amd64/ --prefer-binary + cat /usr/local/config/custom_components/hacs/manifest.json | jq -r .requirements[] | xargs /usr/local/bin/python3 -m pip install --quiet --no-cache-dir --upgrade --constraint /usr/src/homeassistant/homeassistant/package_constraints.txt --find-links https://wheels.home-assistant.io/alpine-3.14/amd64/ --prefer-binary # Install spotcast RUN cd /tmp && \