Files
myfileagent-pipeline/ops/jenkins/install-python.sh
T

7 lines
340 B
Bash
Raw Normal View History

#!/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