mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-08 16:45:56 +02:00
Update Dockerfile
This commit is contained in:
@@ -35,7 +35,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \
|
|||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
mkdir -p /scripts && \
|
mkdir -p /scripts && \
|
||||||
mv /etc/entrypoint.d/* /scripts/
|
mv /etc/entrypoint.d/11-execute-things.sh /scripts/
|
||||||
|
|
||||||
#RUN \
|
#RUN \
|
||||||
# # Change data location
|
# # Change data location
|
||||||
@@ -79,8 +79,8 @@ 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 cat /ha_entrypoint.sh && \
|
#RUN cat /ha_entrypoint.sh && \
|
||||||
sed -i "1i \#\!/bin/bash" /ha_entrypoint.sh
|
# sed -i "1i \#\!/bin/bash" /ha_entrypoint.sh
|
||||||
|
|
||||||
# Entrypoint
|
# Entrypoint
|
||||||
#RUN sed -i "1a \#\!/bin/bash bashio" /ha_entrypoint.sh
|
#RUN sed -i "1a \#\!/bin/bash bashio" /ha_entrypoint.sh
|
||||||
@@ -94,8 +94,8 @@ RUN cat /ha_entrypoint.sh && \
|
|||||||
|
|
||||||
#USER www-data
|
#USER www-data
|
||||||
|
|
||||||
ENTRYPOINT [ "/usr/bin/env" ]
|
#ENTRYPOINT [ "/usr/bin/env" ]
|
||||||
CMD [ "/ha_entrypoint.sh" ]
|
#CMD [ "/ha_entrypoint.sh" ]
|
||||||
|
|
||||||
############
|
############
|
||||||
# 5 Labels #
|
# 5 Labels #
|
||||||
|
|||||||
Reference in New Issue
Block a user