changed groupadd to addgroup in alpine
Some checks failed
andreas-personal/jenkins-with-docker/pipeline/head There was a failure building this commit
Some checks failed
andreas-personal/jenkins-with-docker/pipeline/head There was a failure building this commit
This commit is contained in:
parent
5d4983e555
commit
a6e4c61f28
@ -1,7 +1,7 @@
|
|||||||
FROM jenkins/jenkins:alpine
|
FROM jenkins/jenkins:alpine
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
RUN groupadd -g 281 docker
|
RUN addgroup --gid 281 docker
|
||||||
RUN usermod -aG docker jenkins
|
RUN usermod -aG docker jenkins
|
||||||
|
|
||||||
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