mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-06 23:55:56 +02:00
Update Dockerfile
This commit is contained in:
@@ -62,8 +62,8 @@ RUN chmod 744 /ha_autoapps.sh && /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.
|
|||||||
################
|
################
|
||||||
|
|
||||||
# Add entrypoint
|
# Add entrypoint
|
||||||
ENV S6_STAGE2_HOOK=/ha_entrypoint.sh
|
#ENV S6_STAGE2_HOOK=/ha_entrypoint.sh
|
||||||
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh"
|
#ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh"
|
||||||
|
|
||||||
# Entrypoint modifications
|
# Entrypoint modifications
|
||||||
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"
|
||||||
@@ -72,7 +72,6 @@ RUN chmod 777 /ha_entrypoint.sh /ha_entrypoint_modif.sh && /ha_entrypoint_modif.
|
|||||||
# Add custom scripts
|
# Add custom scripts
|
||||||
RUN sed -i "2a source /ha_entrypoint.sh" /sbin/docker-entrypoint.sh && \
|
RUN sed -i "2a source /ha_entrypoint.sh" /sbin/docker-entrypoint.sh && \
|
||||||
sed -i "s=/\.=source =g" /ha_entrypoint.sh && \
|
sed -i "s=/\.=source =g" /ha_entrypoint.sh && \
|
||||||
sed -i "s|\[ \"\$\$\" -eq 1 \]|false|g" /ha_entrypoint.sh && \
|
|
||||||
sed -i "s=env bash=env bashio=g" /sbin/docker-entrypoint.sh
|
sed -i "s=env bash=env bashio=g" /sbin/docker-entrypoint.sh
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
|
|||||||
Reference in New Issue
Block a user