Upload Jenkins Dockerfile #14

Open
samahk13 wants to merge 1 commits from samahk13-patch-1 into main
+13
View File
@@ -0,0 +1,13 @@
# Jenkins controller image for the Scrap-Web CI pipeline (SSW 590).
# The official Jenkins LTS image does not include Python, which the
# Jenkinsfile needs (builds run on the controller executor).
#
# Replace <LTS-TAG> with the exact tag currently in the Compose file,
# e.g. 2.xxx.y-lts-jdk21, so the recorded Jenkins version does not change.
FROM jenkins/jenkins:<LTS-TAG>
USER root
RUN apt-get update \
&& apt-get install -y --no-install-recommends python3 \
&& rm -rf /var/lib/apt/lists/*
USER jenkins