Adjust the apt-sources line to use the DEBIAN_SUITE
This commit is contained in:
parent
972294a377
commit
c686efac7c
|
|
@ -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 \
|
||||
|
|
|
|||
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Reference in New Issue