diff --git a/docker-unified/Dockerfile b/docker-unified/Dockerfile index ce9bd5aa87..0814ec9f05 100644 --- a/docker-unified/Dockerfile +++ b/docker-unified/Dockerfile @@ -214,7 +214,6 @@ RUN apt-get update && apt-get install -y \ supervisor \ tzdata \ unzip \ - sudo \ && rm -rf /var/lib/apt/lists/* # Create required directories diff --git a/docker-unified/entrypoint.sh b/docker-unified/entrypoint.sh index 7b5f218cf4..86c7393982 100755 --- a/docker-unified/entrypoint.sh +++ b/docker-unified/entrypoint.sh @@ -99,4 +99,4 @@ chown -R $PUID:$PGID \ /var/run/nginx \ /run -sudo -E -u \#$PUID /usr/bin/supervisord \ No newline at end of file +exec setpriv --reuid=$PUID --regid=$PGID --init-groups /usr/bin/supervisord \ No newline at end of file