From 3e14af45c8611d900f0e34e9ff17693755979fd9 Mon Sep 17 00:00:00 2001 From: Filip Pytloun Date: Fri, 21 Apr 2023 14:29:36 +0200 Subject: [PATCH] Fix variable --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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