Fix hacs install
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/promote/production Build is passing

This commit is contained in:
2024-09-07 14:39:41 +02:00
parent ae4d6424a4
commit 8e8a3456d9

View File

@@ -6,7 +6,7 @@ FROM homeassistant/home-assistant:2024.9.1
RUN mkdir -p /usr/local/config/custom_components && \ RUN mkdir -p /usr/local/config/custom_components && \
touch /usr/local/config/home-assistant.log && \ touch /usr/local/config/home-assistant.log && \
cd /usr/local/config && \ cd /usr/local/config && \
echo 2024.3 > .HA_VERSION && \ hass --version > .HA_VERSION && \
wget -q -O - https://install.hacs.xyz | bash - && \ 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/musllinux/ --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/musllinux/ --prefer-binary