Skip to content

Commit

Permalink
Merge pull request #528 from ap-wtioit/master-fix_postgres_stretch_gi…
Browse files Browse the repository at this point in the history
…thub

[FIX] stretch: use apt-archive for postgres in stretch
  • Loading branch information
pedrobaeza authored Nov 8, 2022
2 parents a72750f + 63895af commit 2c6a70b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion 11.0.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ RUN apt-get -qq update \
telnet \
vim \
zlibc \
&& echo 'deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main' >> /etc/apt/sources.list.d/postgresql.list \
apt-transport-https \
ca-certificates \
&& echo 'deb https://apt-archive.postgresql.org/pub/repos/apt stretch-pgdg main' >> /etc/apt/sources.list.d/postgresql.list \
&& curl -SL https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
&& curl https://bootstrap.pypa.io/pip/3.5/get-pip.py | python3 /dev/stdin \
&& curl -sL https://deb.nodesource.com/setup_6.x | bash - \
Expand Down
4 changes: 3 additions & 1 deletion 12.0.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ RUN apt-get -qq update \
telnet \
vim \
zlibc \
&& echo 'deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main' >> /etc/apt/sources.list.d/postgresql.list \
apt-transport-https \
ca-certificates \
&& echo 'deb https://apt-archive.postgresql.org/pub/repos/apt stretch-pgdg main' >> /etc/apt/sources.list.d/postgresql.list \
&& curl -SL https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
&& curl https://bootstrap.pypa.io/pip/3.5/get-pip.py | python3 /dev/stdin \
&& curl -sL https://deb.nodesource.com/setup_8.x | bash - \
Expand Down

0 comments on commit 2c6a70b

Please sign in to comment.