add grp guid to env

This commit is contained in:
2025-03-07 19:33:33 +01:00
parent b7bb49f93c
commit bcbcde8215
2 changed files with 6 additions and 1 deletions
+4
View File
@@ -1,5 +1,9 @@
FROM jenkins/ssh-agent:latest-debian-jdk21
ARG DOCKER_GID=${DOCKER_GID:-994}
RUN groupadd -for -g ${DOCKER_GID} docker \
&& usermod -aG docker jenkins
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
ca-certificates \