From 192ac23cb4e38a56cf72de69ccca3b5ea52b6bc4 Mon Sep 17 00:00:00 2001 From: Michael Shaw Date: Thu, 1 Dec 2022 15:34:38 -0500 Subject: [PATCH] adding GAMBIT specific userid for jenkins to foundation containers --- Dockerfile | 1 + alpine/Dockerfile | 1 + 2 files changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index be9059d..48de41b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,3 +20,4 @@ RUN rm -rf /usr/local/go && tar -C /usr/local -xzf go1.18.6.linux-amd64.tar.gz ENV PATH $PATH:/usr/local/go/bin +RUN useradd -r -u 111 -g 116 -d /var/lib/jenkins -M -N jenkins diff --git a/alpine/Dockerfile b/alpine/Dockerfile index c563062..b2492fa 100644 --- a/alpine/Dockerfile +++ b/alpine/Dockerfile @@ -4,3 +4,4 @@ RUN apk update ; apk add --no-cache --allow-untrusted ca-certificates curl bash RUN apk add --no-cache --upgrade grep +RUN useradd -r -u 111 -g 116 -d /var/lib/jenkins -M -N jenkins