Skip to content

Commit

Permalink
fix: apt-get update due to moved psql buster repo
Browse files Browse the repository at this point in the history
  • Loading branch information
beheh committed Sep 29, 2024
1 parent 71d589f commit 362af88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ RUN key="B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8"; \
gpg --keyserver keyserver.ubuntu.com --recv-keys "$key"; \
gpg --export "$key" > /etc/apt/trusted.gpg.d/postgres.gpg; \
rm -rf "$GNUPGHOME" && \
echo "deb http://apt.postgresql.org/pub/repos/apt/ buster-pgdg main $PG_MAJOR" > /etc/apt/sources.list.d/pgdg.list; \
echo "deb-src http://apt.postgresql.org/pub/repos/apt/ buster-pgdg main $PG_MAJOR" >> /etc/apt/sources.list.d/pgdg.list; \
echo "deb http://apt-archive.postgresql.org/pub/repos/apt/ buster-pgdg main $PG_MAJOR" > /etc/apt/sources.list.d/pgdg.list; \
echo "deb-src http://apt-archive.postgresql.org/pub/repos/apt/ buster-pgdg main $PG_MAJOR" >> /etc/apt/sources.list.d/pgdg.list; \
apt-get update

RUN apt-get install -y postgresql-common postgresql-10 && \
Expand Down

0 comments on commit 362af88

Please sign in to comment.