From: David Petera Date: Fri, 17 Jan 2025 12:50:47 +0000 (+0100) Subject: Remove links to czech repos in EOL debians and add archived repos for debian 9 X-Git-Tag: v2.17~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ae55a7668ea445673b4b36b669a8a2f2bcd4e772;p=thirdparty%2Fbird.git Remove links to czech repos in EOL debians and add archived repos for debian 9 --- diff --git a/misc/docker/debian-10-amd64/Dockerfile b/misc/docker/debian-10-amd64/Dockerfile index a241bb238..29034a842 100644 --- a/misc/docker/debian-10-amd64/Dockerfile +++ b/misc/docker/debian-10-amd64/Dockerfile @@ -1,6 +1,5 @@ FROM debian:buster-slim ENV DEBIAN_FRONTEND noninteractive -RUN sed -i 's/deb.debian.org/ftp.cz.debian.org/' /etc/apt/sources.list RUN apt-get -y update RUN apt-get -y upgrade RUN apt-get -y --no-install-recommends install \ diff --git a/misc/docker/debian-10-i386/Dockerfile b/misc/docker/debian-10-i386/Dockerfile index 6b28a20a2..99570ffc5 100644 --- a/misc/docker/debian-10-i386/Dockerfile +++ b/misc/docker/debian-10-i386/Dockerfile @@ -1,6 +1,5 @@ FROM i386/debian:buster-slim ENV DEBIAN_FRONTEND noninteractive -RUN sed -i 's/deb.debian.org/ftp.cz.debian.org/' /etc/apt/sources.list RUN apt-get -y update RUN apt-get -y upgrade RUN apt-get -y --no-install-recommends install \ diff --git a/misc/docker/debian-11-amd64/Dockerfile b/misc/docker/debian-11-amd64/Dockerfile index a9aee7e9d..245c842cf 100644 --- a/misc/docker/debian-11-amd64/Dockerfile +++ b/misc/docker/debian-11-amd64/Dockerfile @@ -1,6 +1,5 @@ FROM amd64/debian:bullseye-slim ENV DEBIAN_FRONTEND=noninteractive -RUN sed -i 's/deb.debian.org/ftp.cz.debian.org/' /etc/apt/sources.list RUN apt-get -y update RUN apt-get -y upgrade RUN apt-get -y --no-install-recommends install \ diff --git a/misc/docker/debian-9-amd64/Dockerfile b/misc/docker/debian-9-amd64/Dockerfile index 4e8603f09..010b275c9 100644 --- a/misc/docker/debian-9-amd64/Dockerfile +++ b/misc/docker/debian-9-amd64/Dockerfile @@ -1,6 +1,11 @@ FROM debian:stretch-slim ENV DEBIAN_FRONTEND noninteractive -RUN sed -i 's/deb.debian.org/ftp.cz.debian.org/' /etc/apt/sources.list + +# Has to be done for apt-get to work properly. Debian 9 is EOL. +RUN sed -i s/deb.debian.org/archive.debian.org/g /etc/apt/sources.list +RUN sed -i 's|security.debian.org|archive.debian.org|g' /etc/apt/sources.list +RUN sed -i '/stretch-updates/d' /etc/apt/sources.list + RUN apt-get -y update RUN apt-get -y upgrade RUN apt-get -y --no-install-recommends install \ diff --git a/misc/docker/debian-9-i386/Dockerfile b/misc/docker/debian-9-i386/Dockerfile index d37a742da..93d27d271 100644 --- a/misc/docker/debian-9-i386/Dockerfile +++ b/misc/docker/debian-9-i386/Dockerfile @@ -1,6 +1,11 @@ FROM i386/debian:stretch-slim ENV DEBIAN_FRONTEND noninteractive -RUN sed -i 's/deb.debian.org/ftp.cz.debian.org/' /etc/apt/sources.list + +# Has to be done for apt-get to work properly. Debian 9 is EOL. +RUN sed -i s/deb.debian.org/archive.debian.org/g /etc/apt/sources.list +RUN sed -i 's|security.debian.org|archive.debian.org|g' /etc/apt/sources.list +RUN sed -i '/stretch-updates/d' /etc/apt/sources.list + RUN apt-get -y update RUN apt-get -y upgrade RUN apt-get -y --no-install-recommends install \