Files
myfileagent-pipeline/ops/jenkins/install-python.sh
2026-10-09 18:33:17 +00:00

7 lines
340 B
Bash

#!/bin/sh
# Run on the Droplet after recreating the official Jenkins container.
# Python installed in the container survives restart, not container replacement.
set -eu
docker exec -u root myfileagent-jenkins sh -c 'apt-get update -qq && apt-get install -y --no-install-recommends python3'
docker exec myfileagent-jenkins python3 --version