opendatacube / datacube-docker

General purpose Docker Images related to the Open Data Cube project
Apache License 2.0
13 stars 6 forks source link

Bump postgresql client to version 16 #138

Closed lars-fillmore closed 6 months ago

lars-fillmore commented 6 months ago

Bumping postgresql client to a later version. Official documentation notes that psql is backwards compatible.

"If you want to use psql to connect to several servers of different major versions, it is recommended that you use the newest version of psql. Alternatively, you can keep around a copy of psql from each major version and be sure to use the version that matches the respective server. But in practice, this additional complication should not be necessary."

https://www.postgresql.org/docs/current/app-psql.html

pjonsson commented 6 months ago

I've seen a PR on GDAL that updates its base image to Ubuntu 24.04 LTS. I don't know if that will end up/has ended up in what will be GDAL 3.9.0, but that would give a more recent Postgres client by just changing the version number like you've done.

Edit: GDAL 3.9.0 will use Ubuntu 24.04 as base for the Docker images (https://github.com/OSGeo/gdal/tree/release/3.9/docker). Dependabot will open a PR here to update the Dockerfile to use GDAL 3.9.0 when that is released.

alexgleith commented 6 months ago

I think you'll need to update the base image, from here: https://github.com/OSGeo/gdal/pkgs/container/gdal

That'll update Ubuntu underneath it.

lars-fillmore commented 6 months ago

GDAL 3,9 is still at release candidate 2. I'll leave this as is rn and wait a bit for a full release.