This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
FROM homeassistant/home-assistant:2023.8
|
FROM homeassistant/home-assistant:2024.3
|
||||||
|
|
||||||
#COPY src/ /usr/src/homeassistant/homeassistant/
|
#COPY src/ /usr/src/homeassistant/homeassistant/
|
||||||
|
|
||||||
@@ -6,13 +6,13 @@ FROM homeassistant/home-assistant:2023.8
|
|||||||
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 2023.8 > .HA_VERSION && \
|
echo 2024.3 > .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/alpine-3.14/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/musllinux/ --prefer-binary
|
||||||
|
|
||||||
# Install spotcast
|
# Install spotcast
|
||||||
RUN cd /tmp && \
|
RUN cd /tmp && \
|
||||||
wget -q -O spotcast.tar.gz https://github.com/fondberg/spotcast/archive/refs/tags/v3.7.0.tar.gz && \
|
wget -q -O spotcast.tar.gz https://github.com/fondberg/spotcast/archive/refs/tags/v3.7.2.tar.gz && \
|
||||||
tar xzf spotcast.tar.gz && \
|
tar xzf spotcast.tar.gz && \
|
||||||
mv spotcast-*/custom_components/spotcast /usr/local/config/custom_components/ && \
|
mv spotcast-*/custom_components/spotcast /usr/local/config/custom_components/ && \
|
||||||
rm -rf /tmp/*
|
rm -rf /tmp/*
|
||||||
|
|||||||
Reference in New Issue
Block a user