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