Update Dockerfile

This commit is contained in:
Alexandre
2025-02-06 16:10:04 +01:00
committed by GitHub
parent ca215e2e8b
commit f8d81bfe6e

View File

@@ -79,6 +79,10 @@ ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templat
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint_modif.sh" "/ha_entrypoint_modif.sh"
RUN chmod 777 /ha_entrypoint.sh /ha_entrypoint_modif.sh && /ha_entrypoint_modif.sh && rm /ha_entrypoint_modif.sh
# Adapt shebang
RUN \
sed -i "s|/command/with-contenv bashio|/bin/bash bashio|g" /ha_entrypoint.sh
#RUN cat /ha_entrypoint.sh && \
# sed -i "1i \#\!/bin/bash" /ha_entrypoint.sh