Remove python3.10-distutils and python3.10-venv from Dockerfile#539
Open
Remove python3.10-distutils and python3.10-venv from Dockerfile#539
Conversation
These packages have been removed from the deadsnakes PPA for Ubuntu Focal and are no longer available, causing the Docker build to fail. Neither package is needed: - pip is installed via get-pip.py which doesn't require distutils - virtualenv is installed via pip, replacing the need for the venv package Also fix legacy ENV format warning (ENV key value -> ENV key=value). https://claude.ai/code/session_01UWALAV2tXVZ3pDtg88Npo9
Python 3.10 is no longer available in the deadsnakes PPA for Ubuntu Focal — the package installs but provides no binary, causing the Docker build to fail at the update-alternatives step. Switch all python3.10 references to python3.12, which is actively maintained in the deadsnakes PPA. https://claude.ai/code/session_01UWALAV2tXVZ3pDtg88Npo9
The deadsnakes PPA has dropped Ubuntu Focal (20.04) support entirely, making it impossible to install Python 3.10 (or any other version) from the PPA. Ubuntu Jammy ships with Python 3.10 natively, removing the need for the deadsnakes PPA altogether. Changes: - Base image: ubuntu:focal-20230412 -> ubuntu:jammy - Replace deadsnakes PPA with Mozilla Team PPA (Firefox is snap-only in Jammy by default, need the PPA for deb-based install in Docker) - Add apt pinning to prefer Firefox from Mozilla PPA - Use native python3.10 package (no regex escaping needed) - Revert python3.12 references back to python3.10 https://claude.ai/code/session_01UWALAV2tXVZ3pDtg88Npo9
mmore500
commented
Feb 9, 2026
Member
Author
mmore500
left a comment
There was a problem hiding this comment.
bumps ubuntu version to track deadsnakes deprecation, makes change to update firefox install (on jammy, this is by snap unless ppa added), makes syntax change to modernize dockerfile
lgtm, and successfully fixes CI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
These packages have been removed from the deadsnakes PPA for Ubuntu
Focal and are no longer available, causing the Docker build to fail.
Neither package is needed:
Also fix legacy ENV format warning (ENV key value -> ENV key=value).
https://claude.ai/code/session_01UWALAV2tXVZ3pDtg88Npo9