11 lines
656 B
Docker
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
|