From 6b122759c45209ab84fbba9e0a4fac6dc0c8df2a Mon Sep 17 00:00:00 2001 From: Marc Boehm Date: Tue, 20 May 2025 17:13:42 +0200 Subject: [PATCH] Remove service user --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7e613b8..f056944 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,11 +13,10 @@ RUN apt-get update -y && \ sed \ python3 \ ca-certificates \ - build-essential && \ - useradd -r -U -c "captica Service User" -m captica + build-essential # Set a custom user to not have n8n run as root -USER captica +USER root # Install n8n and the also temporary all the packages # it needs to build it correctly.