Andreas Fahrecker 99dbf82b54
All checks were successful
andreas-personal/good-old-jenkins/pipeline/head This commit looks good
feat: update to use jdk21
2024-04-29 22:44:00 +02:00

15 lines
347 B
Docker

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