Upgrade pg_dump to v16.

This makes it work with PostgreSQL 16 databases.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10495
GitOrigin-RevId: ae4c25391f309106606f21d6870b2acb4c6c55e1
This commit is contained in:
Samir Talwar 2023-11-20 15:07:27 +01:00 committed by hasura-bot
parent a9e6e8ce52
commit 250b1d4709

View File

@ -40,7 +40,7 @@ RUN set -ex; \
curl -s https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -; \
echo 'deb http://apt.postgresql.org/pub/repos/apt jammy-pgdg main' > /etc/apt/sources.list.d/pgdg.list; \
apt-get -y update; \
apt-get install -y postgresql-client-15; \
apt-get install -y postgresql-client-16; \
# delete all pg tools except pg_dump to keep the image minimal
find /usr/bin -name 'pg*' -not -path '/usr/bin/pg_dump' -delete