From 1f4fe499c668d9a2e1578aa8db4f0b2d14482cf5 Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Wed, 31 Jan 2024 15:01:46 -0800 Subject: [PATCH] =?UTF-8?q?Add=20`apt-get=20dist-clean`=20to=20Debian=20Te?= =?UTF-8?q?sting=20/=20Trixie=20=F0=9F=8E=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- debian/trixie/Dockerfile | 2 +- debian/trixie/curl/Dockerfile | 2 +- debian/trixie/scm/Dockerfile | 2 +- shared.jq | 1 - 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/debian/trixie/Dockerfile b/debian/trixie/Dockerfile index b579eb04..8017017b 100644 --- a/debian/trixie/Dockerfile +++ b/debian/trixie/Dockerfile @@ -51,4 +51,4 @@ RUN set -ex; \ xz-utils \ zlib1g-dev \ ; \ - rm -rf /var/lib/apt/lists/* + apt-get dist-clean diff --git a/debian/trixie/curl/Dockerfile b/debian/trixie/curl/Dockerfile index 6e72c357..6b745964 100644 --- a/debian/trixie/curl/Dockerfile +++ b/debian/trixie/curl/Dockerfile @@ -16,4 +16,4 @@ RUN set -eux; \ sq \ wget \ ; \ - rm -rf /var/lib/apt/lists/* + apt-get dist-clean diff --git a/debian/trixie/scm/Dockerfile b/debian/trixie/scm/Dockerfile index 3f829368..b8c31507 100644 --- a/debian/trixie/scm/Dockerfile +++ b/debian/trixie/scm/Dockerfile @@ -17,4 +17,4 @@ RUN set -eux; \ # procps is very common in build systems, and is a reasonably small package procps \ ; \ - rm -rf /var/lib/apt/lists/* + apt-get dist-clean diff --git a/shared.jq b/shared.jq index 68c9fcb3..19e26a1f 100644 --- a/shared.jq +++ b/shared.jq @@ -5,7 +5,6 @@ def apt_get_dist_clean: # https://tracker.debian.org/pkg/apt # https://packages.debian.org/apt - "trixie", # TODO once 2.7.8 migrates to testing (and images are rebuilt), this should be removed! "bookworm", "bullseye", "buster",