From a1d9916a60734863a7d6a83a9a80748a716469db Mon Sep 17 00:00:00 2001 From: Manuel Naranjo Date: Thu, 18 Apr 2024 09:45:13 +0200 Subject: [PATCH] rbe: adding engflow user and group --- booking-rbe-worker/Dockerfile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/booking-rbe-worker/Dockerfile b/booking-rbe-worker/Dockerfile index 766a90c..25cf4d2 100644 --- a/booking-rbe-worker/Dockerfile +++ b/booking-rbe-worker/Dockerfile @@ -2,3 +2,14 @@ FROM gcr.io/bazel-public/ubuntu2204-java17 RUN apt-get update -yq RUN apt-get install -yq ca-certificates curl gnupg rsync + +RUN groupadd \ + --gid 114 \ + engflow && \ + useradd \ + --home-dir /home/engflow \ + --create-home \ + --uid 108 \ + --gid 114 \ + engflow +ENV HOME=/home/engflow