From: Thorsten Date: Fri, 6 Nov 2026 17:48:42 +0000 (+0100) Subject: Fix Docker build on archived Debian buster X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=0481aba5440613f79b64033de16f424ad99816d6;p=sirius.git Fix Docker build on archived Debian buster buster is EOL and its packages only remain on archive.debian.org, so apt-get update fails with the default sources. Co-Authored-By: Claude Opus 5.5 --- diff --git a/Dockerfile b/Dockerfile index 25b404f..f252726 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,11 @@ FROM python:3.7.10-slim-buster WORKDIR /sirius +# buster is EOL, its packages only remain on archive.debian.org +RUN sed -i -e 's|deb.debian.org|archive.debian.org|' \ + -e 's|security.debian.org/debian-security|archive.debian.org/debian-security|' \ + -e '/buster-updates/d' /etc/apt/sources.list + RUN apt-get update -y && \ mkdir -p /usr/share/man/man1 && \ mkdir -p /usr/share/man/man7 && \