Modify Dockerfile to link 'with-contenv' to 'env'

This commit is contained in:
Alexandre
2025-09-15 17:35:48 +02:00
committed by GitHub
parent 525a04eefa
commit 7faf541e09

View File

@@ -98,9 +98,8 @@ ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templat
# Entrypoint modifications
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint_modif.sh" "/ha_entrypoint_modif.sh"
RUN sed -i 's|with-contenv|env|g' "/ha_entrypoint_modif.sh"
RUN sed -i 's|with-contenv|env|g' "/ha_entrypoint.sh"
RUN chmod 777 /ha_entrypoint.sh /ha_entrypoint_modif.sh && /ha_entrypoint_modif.sh && rm /ha_entrypoint_modif.sh
RUN ln -sf /usr/bin/env /usr/bin/with-contenv
# Standalone bashio command
#ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh"