From c97d4a04504947898513ea46b54c3ea8cdd1808e Mon Sep 17 00:00:00 2001 From: Rub21 Date: Fri, 3 Nov 2023 14:22:29 +0800 Subject: [PATCH] Update OS dependencies for DB container --- images/db/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/images/db/Dockerfile b/images/db/Dockerfile index 2086796d..c17d1038 100644 --- a/images/db/Dockerfile +++ b/images/db/Dockerfile @@ -1,5 +1,8 @@ FROM postgres:11 RUN rm /etc/apt/sources.list.d/pgdg.list +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 update && apt-get -y install apt-transport-https RUN echo "deb [ signed-by=/usr/local/share/keyrings/postgres.gpg.asc ] https://apt-archive.postgresql.org/pub/repos/apt/ stretch-pgdg main 11" >/etc/apt/sources.list.d/pgdg.list RUN apt-get update && apt-get install -y \