changed usermod to addgroup
Some checks reported errors
andreas-personal/jenkins-with-docker/pipeline/head Something is wrong with the build of this commit

This commit is contained in:
Andreas Fahrecker 2024-03-12 18:49:05 +01:00
parent a6e4c61f28
commit cd3e86ad63

View File

@ -2,7 +2,7 @@ FROM jenkins/jenkins:alpine
USER root USER root
RUN addgroup --gid 281 docker RUN addgroup --gid 281 docker
RUN usermod -aG docker jenkins RUN addgroup jenkins docker
RUN apk add --no-cache docker docker-compose RUN apk add --no-cache docker docker-compose