diff --git a/guacamole/Dockerfile b/guacamole/Dockerfile index 9a92ea07f..959a93607 100644 --- a/guacamole/Dockerfile +++ b/guacamole/Dockerfile @@ -90,12 +90,13 @@ RUN chmod 744 /ha_autoapps.sh && /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps. ################ # Add entrypoint -# ENV S6_STAGE2_HOOK=/ha_entrypoint.sh +ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" # Entrypoint modifications 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 sed -i "s|with-contenv|env|g" "/ha_entrypoint.sh" #WORKDIR /data #ENTRYPOINT [ "/usr/bin/env" ]