mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
Update Dockerfile
This commit is contained in:
@@ -29,12 +29,12 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \
|
||||
S6_SERVICES_GRACETIME=0
|
||||
|
||||
|
||||
#RUN echo "Adding symlinks to entrypoint" \
|
||||
# && sed -i \
|
||||
# -e '1a chmod a+x /etc/cont-init.'
|
||||
# -e '1a sed -i "s|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g" /etc/cont-init.d/*' \
|
||||
# -e '1a for i in /etc/cont-init.d/*; do /."$i"; done' \
|
||||
# /entrypoint.sh
|
||||
RUN echo "Adding symlinks to entrypoint" \
|
||||
&& sed -i \
|
||||
-e '1a chmod a+x /etc/cont-init.d/*' \
|
||||
-e '1a sed -i "s|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g" /etc/cont-init.d/*' \
|
||||
-e '1a for i in /etc/cont-init.d/*; do /."$i"; done' \
|
||||
/entrypoint.sh
|
||||
|
||||
##################
|
||||
# 3 Install apps #
|
||||
@@ -70,8 +70,8 @@ ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templat
|
||||
RUN chmod 777 /ha_entrypoint.sh /ha_entrypoint_modif.sh && /ha_entrypoint_modif.sh && rm /ha_entrypoint_modif.sh
|
||||
|
||||
#
|
||||
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