diff --git a/alpine/Dockerfile b/alpine/Dockerfile index f0b1d50..7aa4966 100644 --- a/alpine/Dockerfile +++ b/alpine/Dockerfile @@ -4,6 +4,6 @@ RUN apk update ; apk add --no-cache --allow-untrusted ca-certificates curl bash RUN apk add --no-cache --upgrade grep -RUN groupadd -r -g 116 jenkins +RUN addgroup --system --gid 116 jenkins -RUN useradd -r -u 111 -g 116 -d /var/lib/jenkins -M -N jenkins +RUN adduser -system --uid 111 --ingroup jenkins --home /var/lib/jenkins --no-create-home jenkins