diff --git a/signalk/Dockerfile b/signalk/Dockerfile index 629ffd8f2..883eefc1a 100644 --- a/signalk/Dockerfile +++ b/signalk/Dockerfile @@ -28,6 +28,8 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 \ S6_SERVICES_GRACETIME=0 +USER root + ################## # 3 Install apps # ################## @@ -61,6 +63,7 @@ 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 +USER node ENTRYPOINT [ "/usr/bin/env" ] CMD [ "/ha_entrypoint.sh" ]