Update Dockerfile

This commit is contained in:
Alexandre
2023-11-29 20:05:04 +01:00
committed by GitHub
parent 467e2c408f
commit 4fa93f9140

View File

@@ -29,12 +29,12 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \
S6_SERVICES_GRACETIME=0 S6_SERVICES_GRACETIME=0
RUN echo "Adding symlinks to entrypoint" \ #RUN echo "Adding symlinks to entrypoint" \
&& sed -i \ # && sed -i \
-e '1a chmod a+x /etc/cont-init.d/*' \ # -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 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' \ # -e '1a for i in /etc/cont-init.d/*; do /."$i"; done' \
/entrypoint.sh # /entrypoint.sh
################## ##################
# 3 Install apps # # 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 RUN 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" ]
############ ############
# 5 Labels # # 5 Labels #