Skip to content

Commit c686efa

Browse files
committed
Adjust the apt-sources line to use the DEBIAN_SUITE
1 parent 972294a commit c686efa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

10/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ RUN set -ex; \
4949
ENV PG_MAJOR 10
5050
ENV PG_VERSION 10~beta1-1.pgdg90+1
5151

52-
RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ jessie-pgdg main' $PG_MAJOR > /etc/apt/sources.list.d/pgdg.list
52+
RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main' $PG_MAJOR > /etc/apt/sources.list.d/pgdg.list
5353

5454
RUN apt-get update \
5555
&& apt-get install -y postgresql-common \

Dockerfile-debian.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ RUN set -ex; \
4949
ENV PG_MAJOR %%PG_MAJOR%%
5050
ENV PG_VERSION %%PG_VERSION%%
5151

52-
RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ jessie-pgdg main' $PG_MAJOR > /etc/apt/sources.list.d/pgdg.list
52+
RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ %%DEBIAN_SUITE%%-pgdg main' $PG_MAJOR > /etc/apt/sources.list.d/pgdg.list
5353

5454
RUN apt-get update \
5555
&& apt-get install -y postgresql-common \

0 commit comments

Comments
 (0)