Skip to content

Commit 4072449

Browse files
committed
Update URL for PostgreSQL apt packages.
Our CI builds are failing because the PostgreSQL apt packages can't be downloaded anymore. This is probably due to the fact that our Docker image ultimately uses Ubuntu 20.04 Focal as the base OS, which is now out of long-term support, and so PostgreSQL doesn't support it anymore. It looks like the packages are still available, but under a different URL with "archive" in the name. This updates the Dockerfile to point to that new URL.
1 parent 062ff12 commit 4072449

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RUN mkdir -p /var/lib/dpkg/alternatives /var/lib/dpkg/info /var/lib/dpkg/parts /
1515
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | apt-key add - && \
1616
mv /home/app/webapp/config/appserver.sh /etc/service/appserver/run && \
1717
chmod 777 /etc/service/appserver/run && \
18-
echo 'deb http://apt.postgresql.org/pub/repos/apt/ focal-pgdg main' > /etc/apt/sources.list.d/pgdg.list && \
18+
echo 'deb http://apt-archive.postgresql.org/pub/repos/apt/ focal-pgdg-archive main' > /etc/apt/sources.list.d/pgdg.list && \
1919
curl --silent https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - && \
2020
apt-get update && \
2121
apt-get install -y libglib2.0-dev && \

0 commit comments

Comments
 (0)