7 lines
319 B
Bash
7 lines
319 B
Bash
#!/bin/sh
|
|
set -eu
|
|
# Run on the Droplet after creating/recreating the official Jenkins container.
|
|
docker exec --user root jenkins sh -c 'apt-get update -qq && apt-get install -y --no-install-recommends python3 && rm -rf /var/lib/apt/lists/*'
|
|
docker exec jenkins python3 --version
|
|
docker exec jenkins git --version
|