Version 2021.4.3

This commit is contained in:
2021-04-10 16:03:43 +02:00
parent ab49ae8a4d
commit 0405aca374
2 changed files with 8 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
FROM homeassistant/home-assistant:2021.3.4
FROM homeassistant/home-assistant:2021.4.3
COPY src/ /usr/src/homeassistant/homeassistant/

View File

@@ -1,4 +1,4 @@
FROM homeassistant/home-assistant:2021.3.4
FROM homeassistant/home-assistant:2021.4.3
COPY src/ /usr/src/homeassistant/homeassistant/
@@ -8,6 +8,12 @@ RUN mkdir -p /usr/local/config/custom_components && \
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
RUN cd /tmp && \
wget https://github.com/zacs/ha-dualmodegeneric/archive/refs/heads/master.zip && \
unzip master.zip && \
mv ha-dualmodegeneric-master/custom_components/* /usr/local/config/custom_components/ && \
rm -rf /tmp/*
ADD entrypoint.sh /entrypoint.sh
ENV PYTHONUSERBASE /config/deps