From 039f3b401ab009c32a03fac632a368b0f17e1e24 Mon Sep 17 00:00:00 2001 From: Andreas Perhab Date: Mon, 24 Apr 2023 08:25:56 +0200 Subject: [PATCH] [FIX] 1[12].0: use archive for debian stretch packages --- 11.0.Dockerfile | 3 +++ 12.0.Dockerfile | 3 +++ 2 files changed, 6 insertions(+) diff --git a/11.0.Dockerfile b/11.0.Dockerfile index a2a24d2f..279a4a2c 100644 --- a/11.0.Dockerfile +++ b/11.0.Dockerfile @@ -34,6 +34,9 @@ ENV DB_FILTER=.* \ WDB_WEB_PORT=1984 \ WDB_WEB_SERVER=localhost +# Debian stretch was moved to archive (and stretch-updates does not exist in archive) +RUN sed -i 's,http://deb.debian.org,http://archive.debian.org,g;s,http://security.debian.org,http://archive.debian.org,g;s,\(.*stretch-updates\),#\1,' /etc/apt/sources.list + # Other requirements and recommendations to run Odoo # See https://github.com/$ODOO_SOURCE/blob/$ODOO_VERSION/debian/control RUN apt-get -qq update \ diff --git a/12.0.Dockerfile b/12.0.Dockerfile index cd87abea..2bf063ba 100644 --- a/12.0.Dockerfile +++ b/12.0.Dockerfile @@ -34,6 +34,9 @@ ENV DB_FILTER=.* \ WDB_WEB_PORT=1984 \ WDB_WEB_SERVER=localhost +# Debian stretch was moved to archive (and stretch-updates does not exist in archive) +RUN sed -i 's,http://deb.debian.org,http://archive.debian.org,g;s,http://security.debian.org,http://archive.debian.org,g;s,\(.*stretch-updates\),#\1,' /etc/apt/sources.list + # Other requirements and recommendations to run Odoo # See https://github.com/$ODOO_SOURCE/blob/$ODOO_VERSION/debian/control RUN apt-get -qq update \