1616
1717# !BuildTag: suse/postgres:16
1818# !BuildTag: suse/postgres:16-%RELEASE%
19- # !BuildTag: suse/postgres:%%pg_version%%
20- # !BuildTag: suse/postgres:%%pg_version%%-%RELEASE%
19+ # !BuildTag: suse/postgres:%%pg_minor_version%%
20+ # !BuildTag: suse/postgres:%%pg_minor_version%%-%RELEASE%
21+ # !BuildTag: suse/postgres:%%pg_patch_version%%
22+ # !BuildTag: suse/postgres:%%pg_patch_version%%-%RELEASE%
2123# !BuildTag: suse/postgres:latest
2224# !BuildName: suse-postgres-16
2325# !BuildVersion: 15.7.16
@@ -30,7 +32,7 @@ RUN set -euo pipefail; zypper -n in --no-recommends postgresql16-server findutil
3032LABEL org.opencontainers.image.authors="SUSE LLC (https://www.suse.com/)"
3133LABEL org.opencontainers.image.title="SLE PostgreSQL 16"
3234LABEL org.opencontainers.image.description="PostgreSQL 16 container based on the SLE Base Container Image."
33- LABEL org.opencontainers.image.version="16 "
35+ LABEL org.opencontainers.image.version="%%pg_patch_version%% "
3436LABEL org.opencontainers.image.url="https://www.suse.com/products/base-container-images/"
3537LABEL org.opencontainers.image.created="%BUILDTIME%"
3638LABEL org.opencontainers.image.vendor="SUSE LLC"
@@ -46,7 +48,7 @@ LABEL com.suse.release-stage="beta"
4648LABEL io.artifacthub.package.readme-url="%SOURCEURL%/README.md"
4749ENV LANG="en_US.utf8"
4850ENV PG_MAJOR="16"
49- ENV PG_VERSION="%%pg_version %%"
51+ ENV PG_VERSION="%%pg_minor_version %%"
5052ENV PGDATA="/var/lib/pgsql/data"
5153
5254ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh" ]
0 commit comments