You've already forked postgres
mirror of
https://github.com/docker-library/postgres.git
synced 2025-11-19 00:22:57 +03:00
Adjust the apt-sources line to use the DEBIAN_SUITE
This commit is contained in:
@@ -49,7 +49,7 @@ RUN set -ex; \
|
|||||||
ENV PG_MAJOR 10
|
ENV PG_MAJOR 10
|
||||||
ENV PG_VERSION 10~beta1-1.pgdg90+1
|
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 \
|
RUN apt-get update \
|
||||||
&& apt-get install -y postgresql-common \
|
&& apt-get install -y postgresql-common \
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ RUN set -ex; \
|
|||||||
ENV PG_MAJOR %%PG_MAJOR%%
|
ENV PG_MAJOR %%PG_MAJOR%%
|
||||||
ENV PG_VERSION %%PG_VERSION%%
|
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 \
|
RUN apt-get update \
|
||||||
&& apt-get install -y postgresql-common \
|
&& apt-get install -y postgresql-common \
|
||||||
|
|||||||
Reference in New Issue
Block a user