fix(program-model): drop redundant deadsnakes PPA on Ubuntu 24.04 (#554)

python3.12 ships in noble's default archive (as seed-gen/patcher already
rely on); software-properties-common + add-apt-repository ppa:deadsnakes
only added an external launchpad.net dependency for no benefit.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Riccardo Schirone
2026-05-18 15:53:26 +02:00
committed by GitHub
parent 1b8bd65986
commit 85ccf9b9fe
-3
View File
@@ -3,9 +3,6 @@ ARG BASE_IMAGE=ubuntu:24.04
# hadolint ignore=DL3006
FROM $BASE_IMAGE AS base
RUN DEBIAN_FRONTEND=noninteractive apt-get update \
&& apt-get install -y --no-install-recommends software-properties-common \
&& add-apt-repository ppa:deadsnakes/ppa \
&& apt-get update \
&& apt-get install -y --no-install-recommends ca-certificates python3.12 curl \
&& rm -rf /var/lib/apt/lists/*
RUN for pkg in docker.io docker-doc docker-compose docker-compose-v2 podman-docker containerd runc; do DEBIAN_FRONTEND=noninteractive apt-get remove $pkg; done || true