From 3396723abcd2b89634159f9468c7af565dd610d4 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 21 Nov 2023 15:50:28 +0100 Subject: [PATCH] Update Dockerfile --- signalk/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) 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" ]