From 7e25f0f3677eabe56bb9560ca5ab55f159585ea3 Mon Sep 17 00:00:00 2001
From: "gioacchino.vino" <gioacchino.vino@infn.it>
Date: Mon, 13 Nov 2023 17:03:08 +0100
Subject: [PATCH] created jenkins user

---
 utils/Dockerfile | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/utils/Dockerfile b/utils/Dockerfile
index 78cd7e2..73cb53a 100644
--- a/utils/Dockerfile
+++ b/utils/Dockerfile
@@ -9,4 +9,9 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update \
     && rm orchent_${ORCHENT_VERSION}_amd64.deb \
     && apt-get clean && rm -rf /var/lib/apt/lists/*
 
-RUN pip install gvm-tools jq yq
\ No newline at end of file
+RUN pip install gvm-tools jq yq
+
+RUN useradd -ms /bin/bash jenkins
+
+USER jenkins
+WORKDIR /home/jenkins
\ No newline at end of file
-- 
GitLab