Files
good-old-jenkins/Dockerfile
Andreas Fahrecker be6926acd4
All checks were successful
andreas-personal/good-old-jenkins/pipeline/head This commit looks good
refactor: 🔇 Remove Debug check of User
2025-06-06 03:21:13 +02:00

22 lines
635 B
Docker

FROM jenkins/jenkins:latest-jdk21
USER root
RUN groupadd -g 281 docker
RUN usermod -aG docker jenkins
# Install tea
# RUN apt-get update && apt-get install -y git make golang
# RUN git clone https://gitea.com/gitea/tea.git
# RUN cd tea && make && make install
COPY --chown=jenkins:jenkins executors.groovy /usr/share/jenkins/ref/init.groovy.d/executors.groovy
#Install git lfs
RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
RUN apt-get install -y git-lfs
RUN git lfs install --system
# Install jenkins plugins
USER jenkins
RUN jenkins-plugin-cli --plugins "blueocean docker-workflow"