#20 - Add python3-venv to the base image #22
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "20-add-python3-venv"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Add
python3-venvto the base stage's package list, so every variant (ci,coder,coder-xfce-vnc) ships it.Why
The image had
python3andpython3-pipbut notpython3-venv. On Ubuntu that means noensurepip, sopython3 -m venvfails. Firebase Python deploys need it, and consuming CI jobs currently work around it with an in-jobapt-get install -y python3-venv. Once this image is published, those jobs can drop that step.Changes
Dockerfile:python3-venvadded next topython3/python3-pip, with a short comment explaining why.README.md: Python 3 (pip,pipx,venv) added to the CI variant's feature list and to Version Information. Python wasn't mentioned anywhere before.Verification
I pulled the base
RUNstep out of the Dockerfile with a script (continuations joined, comment lines dropped the way Docker does it) and ran it in anubuntu:24.04pod on the cluster:RUNstep (apt list + Azul JDK)python3-venvinstalled3.12.3-0ubuntu2.1python3 -m venv /tmp/v/tmp/v/bin/pip --versionpip 24.0 (python 3.12)pip install sixinto the venv, then import itThe branch push also starts the
docker-devKaniko build for all three targets.Closes #20
🤖 Generated with Claude Code
https://claude.ai/code/session_01XPajGyTH2js52mY5WSJoNA
5cb0f2538e9f44a114beNew commits pushed, approval review dismissed automatically according to repository settings
9f44a114bec423082a6a