From a8e1ba46fb4394dc5986aacf4652c5c09ccb0ecb Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Wed, 25 Oct 2023 21:01:24 -0500 Subject: [PATCH] Set UID/GID to match jenkins-inbound image The UID/GID of the process running in a Jenkins build container has to match that of the JNLP agent process, or the build will fail to start with various permission errors. --- Containerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Containerfile b/Containerfile index e01247b..9f49b69 100644 --- a/Containerfile +++ b/Containerfile @@ -7,6 +7,6 @@ RUN --mount=type=cache,target=/var/cache \ tini \ && : -USER 101:101 +USER 1000:1000 CMD ["tini", "sleep", "--", "infinity"]