mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-09 17:15:57 +02:00
Update Dockerfile
This commit is contained in:
@@ -76,7 +76,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"
|
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
|
RUN chmod 777 /ha_entrypoint.sh /ha_entrypoint_modif.sh && /ha_entrypoint_modif.sh && rm /ha_entrypoint_modif.sh
|
||||||
|
|
||||||
RUN sed -i "s|/command/with-contenv bashio|/usr/bin/env bashio|g" /ha_entrypoint.sh && \
|
RUN \
|
||||||
|
# Adapt files
|
||||||
|
sed -i "s|/command/with-contenv bashio|/usr/bin/env bashio|g" /ha_entrypoint.sh && \
|
||||||
|
for files in /etc/cont-init.d/*; do sed -i "s|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g" "$files"; done && \
|
||||||
echo /ha_entrypoint.sh
|
echo /ha_entrypoint.sh
|
||||||
|
|
||||||
ENTRYPOINT [ "/usr/bin/env" ]
|
ENTRYPOINT [ "/usr/bin/env" ]
|
||||||
|
|||||||
Reference in New Issue
Block a user