CrunchyData / crunchy-containers

Containers for Managing PostgreSQL on Kubernetes by Crunchy Data
https://www.crunchydata.com/
Apache License 2.0
1.01k stars 328 forks source link

Fix PG Installs in UBI 8 Upgrade Container #1397

Closed andrewlecuyer closed 2 years ago

andrewlecuyer commented 2 years ago

Provides a solution for installing all required PG packages in the UBI 8 crunchy-upgrade container, specifically to address a limitation in microdnf in which it is not possible to use regular expressions in package names when installing a package using microdnf install.

This solution maintains existing build behavior in which the versions of PG installed in the upgrade container are determined by the .repo files present (and therefore included in the container) when building.

_Note: This change will need to be back-patched to the REL_4_7 branch._

[sc-12978]