mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-05 15:15:58 +02:00
Remove ha_entrypoint_modif.sh
This commit is contained in:
@@ -123,11 +123,7 @@ RUN set -eux; \
|
|||||||
###############
|
###############
|
||||||
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
|
||||||
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint_modif.sh" /ha_entrypoint_modif.sh
|
RUN chmod +x /ha_entrypoint.sh
|
||||||
RUN set -eux; \
|
|
||||||
chmod 777 /ha_entrypoint.sh /ha_entrypoint_modif.sh; \
|
|
||||||
/ha_entrypoint_modif.sh; \
|
|
||||||
rm /ha_entrypoint_modif.sh
|
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/bin/env"]
|
ENTRYPOINT ["/usr/bin/env"]
|
||||||
CMD ["/ha_entrypoint.sh"]
|
CMD ["/ha_entrypoint.sh"]
|
||||||
|
|||||||
@@ -66,15 +66,6 @@ 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"
|
||||||
RUN chmod 777 "/ha_entrypoint.sh"
|
RUN chmod 777 "/ha_entrypoint.sh"
|
||||||
|
|
||||||
# Entrypoint modifications
|
|
||||||
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint_modif.sh" "/ha_entrypoint_modif.sh"
|
|
||||||
RUN chmod 777 "/ha_entrypoint_modif.sh"
|
|
||||||
RUN chmod 777 /ha_entrypoint.sh
|
|
||||||
|
|
||||||
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh"
|
|
||||||
RUN chmod 0644 /.bashio-standalone.sh /ha_entrypoint_modif.sh && /ha_entrypoint_modif.sh && rm /ha_entrypoint_modif.sh
|
|
||||||
|
|
||||||
|
|
||||||
ENTRYPOINT [ "/usr/bin/env" ]
|
ENTRYPOINT [ "/usr/bin/env" ]
|
||||||
CMD [ "/ha_entrypoint.sh" ]
|
CMD [ "/ha_entrypoint.sh" ]
|
||||||
|
|
||||||
|
|||||||
@@ -99,15 +99,10 @@ RUN chmod 744 /ha_autoapps.sh \
|
|||||||
################
|
################
|
||||||
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
|
|
||||||
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint_modif.sh" "/ha_entrypoint_modif.sh"
|
|
||||||
RUN chmod 777 /ha_entrypoint.sh
|
RUN chmod 777 /ha_entrypoint.sh
|
||||||
|
|
||||||
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh"
|
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh"
|
||||||
RUN chmod 0644 /.bashio-standalone.sh /ha_entrypoint_modif.sh \
|
RUN chmod 0644 /.bashio-standalone.sh
|
||||||
&& /ha_entrypoint_modif.sh \
|
|
||||||
&& rm /ha_entrypoint_modif.sh
|
|
||||||
|
|
||||||
#WORKDIR /
|
#WORKDIR /
|
||||||
ENTRYPOINT [ "/usr/bin/env" ]
|
ENTRYPOINT [ "/usr/bin/env" ]
|
||||||
|
|||||||
Reference in New Issue
Block a user