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

This commit is contained in:
2025-02-06 22:28:00 +01:00
parent 8f98d7d430
commit c31d68aa8d

View File

@@ -2,6 +2,11 @@ FROM homeassistant/home-assistant:2025.2.0
#COPY src/ /usr/src/homeassistant/homeassistant/
# Fix https://github.com/home-assistant/core/pull/137492
RUN cd /usr/src/homeassistant/homeassistant && \
sed -i s,AsyncMDNSResolver,AsyncDualMDNSResolver,g helpers/aiohttp_client.py && \
pip install aiohttp-asyncmdnsresolver==0.1.0
# Install HACS
RUN mkdir -p /usr/local/config/custom_components && \
touch /usr/local/config/home-assistant.log && \