From 4c4b4f2dec0338e610791d85bbdff149ed830f4b Mon Sep 17 00:00:00 2001 From: Felipe Cotti Date: Thu, 14 Aug 2025 16:02:19 -0300 Subject: [PATCH] Add buster archive repos prior to package installs --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f22264ae91df..3a963225fe98 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,11 +10,11 @@ # and takes longer to build but that is worth it. FROM bitnami/minideb:buster AS base -RUN install_packages apt-transport-https gnupg2 ca-certificates - RUN echo "deb https://archive.debian.org/debian/ buster main" > /etc/apt/sources.list && \ echo "deb https://archive.debian.org/debian-security/ buster/updates main" >> /etc/apt/sources.list +RUN install_packages apt-transport-https gnupg2 ca-certificates + # TODO install_packages calls apt-get update and then nukes the list files after. We should avoid multiple calls to apt-get update..... # We could probably fix this by running the update and installs ourself with `RUN --mount type=cache` but that is "experimental"