]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Remove links to czech repos in EOL debians and add archived repos for debian 9
authorDavid Petera <david.petera@nic.cz>
Fri, 17 Jan 2025 12:50:47 +0000 (13:50 +0100)
committerMaria Matejka <mq@ucw.cz>
Tue, 1 Apr 2025 10:09:36 +0000 (12:09 +0200)
misc/docker/debian-10-amd64/Dockerfile
misc/docker/debian-10-i386/Dockerfile
misc/docker/debian-11-amd64/Dockerfile
misc/docker/debian-9-amd64/Dockerfile
misc/docker/debian-9-i386/Dockerfile

index a241bb238db2897faad33edab749ec349369f5f6..29034a8426ed003d37012ac7a7d0c7cd57d9da22 100644 (file)
@@ -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 \
index 6b28a20a25fee009a27e919a1f7e476fbf22bb2f..99570ffc5deb77fc9ae61a4ff2d88ce851e727f4 100644 (file)
@@ -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 \
index a9aee7e9dd8d0182c77cc5c721c5f6b63df3c076..245c842cfc712af6b704507c5894a553069b0ee6 100644 (file)
@@ -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 \
index 4e8603f09020b6bea15e705dfed8d77c9168dbe5..010b275c917e0d77dcd6110b6191b60d289bad9d 100644 (file)
@@ -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 \
index d37a742da0be1613e72d1c72523280bf505ba3f8..93d27d271eac754e6fc9a2d5ca16f561b5031d0c 100644 (file)
@@ -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 \