Update entrypoint command in Dockerfile

Replace '/usr/bin/env' with '/usr/bin/with-contenv' in init scripts.
This commit is contained in:
Alexandre
2026-01-15 18:49:52 +01:00
committed by GitHub
parent 12dfa803f1
commit 449772865a

View File

@@ -91,6 +91,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/*
#WORKDIR /
ENTRYPOINT [ "/usr/bin/env" ]
CMD [ "/ha_entrypoint.sh" ]