From 4fa93f9140f9bbe1ddc0a33241d224be43fcb21d Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 29 Nov 2023 20:05:04 +0100 Subject: [PATCH] Update Dockerfile --- omada/Dockerfile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/omada/Dockerfile b/omada/Dockerfile index d7a13d8b9..681286b33 100644 --- a/omada/Dockerfile +++ b/omada/Dockerfile @@ -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.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 +#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 ################## # 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 #