This commit is contained in:
@@ -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 && \
|
||||
|
||||
Reference in New Issue
Block a user