good-old-jenkins/Dockerfile
Andreas Fahrecker 31f228a915
Some checks failed
andreas-personal/good-old-jenkins/pipeline/head There was a failure building this commit
feat: Add git lfs
2024-06-05 02:25:17 +02:00

20 lines
535 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 jenkins plugins
USER jenkins
RUN jenkins-plugin-cli --plugins "blueocean docker-workflow"
#Install git lfs
RUN apt-get install -y git-lfs
RUN git lfs install --system