Files
myfileagent-pipeline/support/jenkins-runtime/Dockerfile
T
nkogut 0d835a15b9
Team manual PDF / manual (push) Successful in 2m19s
myfileagent-python-ci/pipeline/pr-main This commit looks good
Persist controller Python dependency across container recreation
2026-11-22 02:07:08 +00:00

11 lines
656 B
Docker

# 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