sclorg / postgresql-container

PostgreSQL container images based on Red Hat Software Collections and intended for OpenShift and general usage. Users can choose between Red Hat Enterprise Linux, Fedora, and CentOS based images.
http://softwarecollections.org
Apache License 2.0
164 stars 216 forks source link

Update Dockerfile.rhel8 to fix the postgresql upgrade issue from v12 to v13. #451

Closed dinaharan closed 2 years ago

dinaharan commented 2 years ago

I was trying to test postgresql upgrade to version 13 from version 12 using RHEL8 based image but it's not working. I see the following env is missing in RHEL8 based postgresql 13 image

POSTGRESQL_PREV_VERSION=12

Here is the link to problematic Dockerfile.

https://github.com/sclorg/postgresql-container/blob/generated/13/Dockerfile.rhel8

The same works fine with RHEL7 and other images.

phracek commented 2 years ago

[test-all]

phracek commented 2 years ago

Closing in favor of https://github.com/sclorg/postgresql-container/pull/456