From c686efac7c1c9db3e3b4a95cff93e2057c237a2e Mon Sep 17 00:00:00 2001 From: Joe Ferguson Date: Thu, 22 Jun 2017 10:59:57 -0700 Subject: [PATCH] Adjust the apt-sources line to use the DEBIAN_SUITE --- 10/Dockerfile | 2 +- Dockerfile-debian.template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/10/Dockerfile b/10/Dockerfile index fea6ac6993..c6191ef0a8 100644 --- a/10/Dockerfile +++ b/10/Dockerfile @@ -49,7 +49,7 @@ RUN set -ex; \ ENV PG_MAJOR 10 ENV PG_VERSION 10~beta1-1.pgdg90+1 -RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ jessie-pgdg main' $PG_MAJOR > /etc/apt/sources.list.d/pgdg.list +RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main' $PG_MAJOR > /etc/apt/sources.list.d/pgdg.list RUN apt-get update \ && apt-get install -y postgresql-common \ diff --git a/Dockerfile-debian.template b/Dockerfile-debian.template index 4c44d4d485..50f45ff119 100644 --- a/Dockerfile-debian.template +++ b/Dockerfile-debian.template @@ -49,7 +49,7 @@ RUN set -ex; \ ENV PG_MAJOR %%PG_MAJOR%% ENV PG_VERSION %%PG_VERSION%% -RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ jessie-pgdg main' $PG_MAJOR > /etc/apt/sources.list.d/pgdg.list +RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ %%DEBIAN_SUITE%%-pgdg main' $PG_MAJOR > /etc/apt/sources.list.d/pgdg.list RUN apt-get update \ && apt-get install -y postgresql-common \