Description
Hi!
It would be useful if there existed a tag that one could specify that always points at the latest possible release for a particular postgres/postgis major version combo. That way maintenance overhead in downstream docker compose files for example could be somewhat minimised.
Is there interest in this? I obviously have an interest and I'm quite happy to look into it and make some contributions to the extent that I am able. I don't know if this creates a maintenance headache for you going forwards though!
Example
postgis/postgis:15-3-alpine
as an alias (currently) of postgis/postgis:15-3.5-alpine
. When postgis 3.6 is released, 15-3-alpine
would point at 15-3.6-alpine
instead
Motivation
We had been pinning our postgis containers to postgis/postgis:15-3.3-alpine
. Unnoticed to us, it's been over a year since that tag has seen any updates. We should have been keeping up with the postgis minor versions instead and should be on 15-3.5-alpine by now. This is entirely our own fault of course, but did take me by surprise.
In the case of other docker images, it is often possible to just point at a stable
tag, or at least a tag that only specifies a major version, which is an alias for the most recently release with that major version. registry.redict.io/redict:7-alpine
, or nginx:stable
for instance. I know that a stable
tag for postgres doesn't really work, since upgrading postgres requires manual intervention.