1
0
mirror of https://github.com/docker-library/postgres.git synced 2025-11-17 13:02:40 +03:00

Adjust the apt-sources line to use the DEBIAN_SUITE

This commit is contained in:
Joe Ferguson
2017-06-22 10:59:57 -07:00
parent 972294a377
commit c686efac7c
2 changed files with 2 additions and 2 deletions

View File

@@ -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 \

View File

@@ -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 \