Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

Switch Debian 10 repositories to archive.debian.org (#33047)

Andrey Babushkind7eb2588fc95
diff --git a/.github/dockerfiles/docker_tag b/.github/dockerfiles/docker_tag
index e882a51095b..ab1c39d1fed 100644
--- a/.github/dockerfiles/docker_tag
+++ b/.github/dockerfiles/docker_tag
@@ -1 +1 @@
-pr-32459
+pr-33047
diff --git a/.github/dockerfiles/ov_build/debian_10_arm/Dockerfile b/.github/dockerfiles/ov_build/debian_10_arm/Dockerfile
index b8463567e00..43a2148f70e 100644
--- a/.github/dockerfiles/ov_build/debian_10_arm/Dockerfile
+++ b/.github/dockerfiles/ov_build/debian_10_arm/Dockerfile
@@ -4,10 +4,16 @@ FROM ${REGISTRY}/library/debian:10.13
USER root
# APT configuration
+# WARNING: Debian 10 "Buster" is no longer officially supported,
+# so repositories were moved to "archive.debian.org"
+# See: https://www.debian.org/releases/
RUN echo 'Acquire::Retries "10";' > /etc/apt/apt.conf && \
echo 'APT::Get::Assume-Yes "true";' >> /etc/apt/apt.conf && \
echo 'APT::Get::Fix-Broken "true";' >> /etc/apt/apt.conf && \
- echo 'APT::Get::no-install-recommends "true";' >> /etc/apt/apt.conf
+ echo 'APT::Get::no-install-recommends "true";' >> /etc/apt/apt.conf && \
+ sed -i 's/deb.debian.org/archive.debian.org/g' /etc/apt/sources.list && \
+ sed -i 's/security.debian.org/archive.debian.org/g' /etc/apt/sources.list && \
+ sed -i '/stretch-updates/d' /etc/apt/sources.list
ENV DEBIAN_FRONTEND="noninteractive" \
TZ="Europe/London"
diff --git a/.github/dockerfiles/ov_test/debian_10_arm/Dockerfile b/.github/dockerfiles/ov_test/debian_10_arm/Dockerfile
index f1e428e0683..21252c0bbf7 100644
--- a/.github/dockerfiles/ov_test/debian_10_arm/Dockerfile
+++ b/.github/dockerfiles/ov_test/debian_10_arm/Dockerfile
@@ -4,10 +4,16 @@ FROM ${REGISTRY}/library/debian:10.13
USER root
# APT configuration
+# WARNING: Debian 10 "Buster" is no longer officially supported,
+# so repositories were moved to "archive.debian.org"
+# See: https://www.debian.org/releases/
RUN echo 'Acquire::Retries "10";' > /etc/apt/apt.conf && \
echo 'APT::Get::Assume-Yes "true";' >> /etc/apt/apt.conf && \
echo 'APT::Get::Fix-Broken "true";' >> /etc/apt/apt.conf && \
- echo 'APT::Get::no-install-recommends "true";' >> /etc/apt/apt.conf
+ echo 'APT::Get::no-install-recommends "true";' >> /etc/apt/apt.conf && \
+ sed -i 's/deb.debian.org/archive.debian.org/g' /etc/apt/sources.list && \
+ sed -i 's/security.debian.org/archive.debian.org/g' /etc/apt/sources.list && \
+ sed -i '/stretch-updates/d' /etc/apt/sources.list
ENV DEBIAN_FRONTEND="noninteractive" \
TZ="Europe/London"
diff --git a/.github/dockerfiles/ov_test/debian_10_py310/Dockerfile b/.github/dockerfiles/ov_test/debian_10_py310/Dockerfile
index e7dbadf5a41..a79ed2206f9 100644
--- a/.github/dockerfiles/ov_test/debian_10_py310/Dockerfile
+++ b/.github/dockerfiles/ov_test/debian_10_py310/Dockerfile
@@ -4,10 +4,16 @@ FROM ${REGISTRY}/library/debian:10.13
USER root
# APT configuration
+# WARNING: Debian 10 "Buster" is no longer officially supported,
+# so repositories were moved to "archive.debian.org"
+# See: https://www.debian.org/releases/
RUN echo 'Acquire::Retries "10";' > /etc/apt/apt.conf && \
echo 'APT::Get::Assume-Yes "true";' >> /etc/apt/apt.conf && \
echo 'APT::Get::Fix-Broken "true";' >> /etc/apt/apt.conf && \
- echo 'APT::Get::no-install-recommends "true";' >> /etc/apt/apt.conf
+ echo 'APT::Get::no-install-recommends "true";' >> /etc/apt/apt.conf && \
+ sed -i 's/deb.debian.org/archive.debian.org/g' /etc/apt/sources.list && \
+ sed -i 's/security.debian.org/archive.debian.org/g' /etc/apt/sources.list && \
+ sed -i '/stretch-updates/d' /etc/apt/sources.list
ENV DEBIAN_FRONTEND="noninteractive" \
TZ="Europe/London"