Update initialization scripts to use with-contenv

Replace '/usr/bin/env' with '/usr/bin/with-contenv' in initialization scripts.
This commit is contained in:
Alexandre
2026-01-11 09:51:24 +01:00
committed by GitHub
parent 40a5c0dd21
commit f51529f322

View File

@@ -73,6 +73,8 @@ RUN chmod 777 /ha_entrypoint.sh /ha_entrypoint_modif.sh && /ha_entrypoint_modif.
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh"
RUN chmod 777 /.bashio-standalone.sh
RUN sed -i "s|/usr/bin/env|/usr/bin/with-contenv|g" /etc/cont-init.d/*
#ENTRYPOINT [ "/usr/bin/env" ]
#CMD [ "/ha_entrypoint.sh" ]