Andreas Fahrecker af4c8c0d68
Some checks failed
andreas-personal/good-old-jenkins/pipeline/head There was a failure building this commit
fix: 🐛 Fix git-lfs install
2024-06-05 02:36:56 +02:00

19 lines
425 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 git lfs
RUN apk add --no-cache git-lfs
RUN git lfs install --system
# Install jenkins plugins
USER jenkins
RUN jenkins-plugin-cli --plugins "blueocean docker-workflow"