Fix variable
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
2023-04-21 14:29:36 +02:00
parent 5dcf31285e
commit 3e14af45c8

View File

@@ -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