add: jenkins build

This commit is contained in:
Schneider Roland
2024-10-09 17:16:51 +02:00
parent 22d28c72a4
commit afe951db28
3 changed files with 10 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
FROM jenkins:2.60.3
FROM jenkins/jenkins:2.480
# Install docker
USER root
@@ -14,7 +14,7 @@ ENV DOCKER_HOST=unix:///var/run/docker.sock
# Give user `jenkins` permission to use the docker daemon. The group ID of the created `docker`
# group matches with the ID of the docker group on the MMKB core server
RUN groupadd --gid 999 docker
RUN groupadd --gid 1001 docker
RUN usermod -aG docker jenkins
# Import the CA Certificate needed for company GitLab into the JVM TrustStore to make it known to Jenkins