diff --git a/support/jenkins-runtime/Dockerfile b/support/jenkins-runtime/Dockerfile new file mode 100644 index 0000000..3b684fa --- /dev/null +++ b/support/jenkins-runtime/Dockerfile @@ -0,0 +1,10 @@ +# Build: docker build --pull=false -t myfileagent-jenkins-python:2.580.1 support/jenkins-runtime +# Deployment: compose.jenkins.yaml image: myfileagent-jenkins-python:2.580.1 +# Retain jenkins-home, JAVA_OPTS=-Xms64m -Xmx192m and the 448m container limit. +# Python must be in the image: packages installed only in a running container +# disappear when Compose recreates that container. Jenkinsfile remains unchanged. +FROM jenkins/jenkins@sha256:a660310e39ade10631f774bacd5219de767dfd08947ea5c32a739b5e5bb382c1 +USER root +RUN apt-get update && apt-get install -y --no-install-recommends python3 && rm -rf /var/lib/apt/lists/* +USER jenkins +RUN python3 --version