mirror of
https://github.com/trailofbits/buttercup
synced 2026-06-21 14:11:39 +00:00
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:
committed by
GitHub
parent
1b8bd65986
commit
85ccf9b9fe
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user