Andreas Fahrecker cd3e86ad63
Some checks reported errors
andreas-personal/jenkins-with-docker/pipeline/head Something is wrong with the build of this commit
changed usermod to addgroup
2024-03-12 18:49:05 +01:00

13 lines
319 B
Docker

FROM jenkins/jenkins:alpine
USER root
RUN addgroup --gid 281 docker
RUN addgroup jenkins docker
RUN apk add --no-cache docker docker-compose
COPY --chown=jenkins:jenkins executors.groovy /usr/share/jenkins/ref/init.groovy.d/executors.groovy
USER jenkins
RUN jenkins-plugin-cli --plugins "blueocean docker-workflow"