Update Dockerfile

This commit is contained in:
Alexandre
2025-02-07 10:25:59 +01:00
committed by GitHub
parent 2b280ecb20
commit a26722ba68

View File

@@ -87,7 +87,7 @@ RUN \
# Execute entrypoint
sed -i "s|/usr/bin/env sh|/usr/bin/env bashio|g" /etc/entrypoint.d/11-execute-things.sh && \
chmod 777 /ha_entrypoint.sh && \
sed -i "1a source /ha_entrypoint.sh" /etc/entrypoint.d/11-execute-things.sh
sed -i "1a sudo /./ha_entrypoint.sh" /etc/entrypoint.d/11-execute-things.sh
#RUN cat /ha_entrypoint.sh && \
# sed -i "1i \#\!/bin/bash" /ha_entrypoint.sh
@@ -118,7 +118,7 @@ ARG BUILD_REF
ARG BUILD_REPOSITORY
ARG BUILD_VERSION
LABEL \
io.hass.name="${BUILD_NAME}" \
io.hass.name="${BUILD_NAME}" \Update config.json
io.hass.description="${BUILD_DESCRIPTION}" \
io.hass.arch="${BUILD_ARCH}" \
io.hass.type="addon" \