diff --git a/Dockerfile b/Dockerfile index 3531836..fd82d7c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,4 @@ -ARG HASS_VERSION=2023.4 -FROM homeassistant/home-assistant:$HASS_VERSION +FROM homeassistant/home-assistant:2023.4 #COPY src/ /usr/src/homeassistant/homeassistant/ @@ -7,7 +6,7 @@ FROM homeassistant/home-assistant:$HASS_VERSION RUN mkdir -p /usr/local/config/custom_components && \ touch /usr/local/config/home-assistant.log && \ cd /usr/local/config && \ - echo $HASS_VERSION > .HA_VERSION && \ + echo 2023.4 > .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.14/amd64/ --prefer-binary