changed usermod to addgroup
Some checks reported errors
andreas-personal/jenkins-with-docker/pipeline/head Something is wrong with the build of this commit
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:
parent
a6e4c61f28
commit
cd3e86ad63
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user