craftcms / image

Container images that are used as the base for Craft CMS container applications
https://craftcms.com
11 stars 0 forks source link

FR: Update Ubuntu / PostgreSQL Client #16

Open scholejo opened 3 months ago

scholejo commented 3 months ago

Description

It's not possible to dump the database when running with a PostgreSQL 16 Server, which is the recommended version of PostgreSQL for Craft 5. This is because the Images are based on Ubuntu 22.04 LTS which only comes with PostgreSQL 14. Currently, we are updating the PostgreSQL client in our own Dockerfile based on your PHP 8.3 image, but it would be nice to have the most recent LTS version of Ubuntu anyway, which comes with PostgreSQL 16. Is that possible? Maybe as an own tag? Alternatively, could you update just the PostgreSQL Client in the images?

I've seen the section on updating Ubuntu in the Readme, but I still think it would be nicer to have the images come with the most recent LTS version of Ubuntu.

Steps to reproduce

  1. Start a (PHP 8.3) Container
  2. Connect it to a PostgreSQL (v16) Server
  3. Dump the database (I only tested that via Command Line)
  4. You should see a version mismatch error from PostgreSQL

Additional info