need to create jenkins group manually

This commit is contained in:
Michael Shaw 2022-12-01 16:01:29 -05:00
parent c3c8dc2f8a
commit 7f37a731ef
2 changed files with 6 additions and 2 deletions

View File

@ -20,4 +20,6 @@ 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 jenkins
RUN groupadd -r -g 116 jenkins
RUN useradd -r -u 111 -g 116 -d /var/lib/jenkins -M -N jenkins

View File

@ -4,4 +4,6 @@ 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 jenkins
RUN groupadd -r -g 116 jenkins
RUN useradd -r -u 111 -g 116 -d /var/lib/jenkins -M -N jenkins