Skip to content

Commit 2a2b20b

Browse files
committed
Minimal image does not need any 'upgrade' package.
This can be done by other tooling or by customer image Signed-off-by: Petr "Stone" Hracek <phracek@redhat.com>
1 parent 3e95345 commit 2a2b20b

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

18-minimal/Dockerfile.c11s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ COPY root/usr/libexec/fix-permissions /usr/libexec/fix-permissions
4545
# safe in the future. This should *never* change, the last test is there
4646
# to make sure of that.
4747
RUN INSTALL_PKGS="rsync tar gettext-envsubst nss_wrapper-libs glibc-locale-source xz" && \
48-
PSQL_PKGS="postgresql18-server postgresql18-contrib postgresql18-upgrade" && \
48+
PSQL_PKGS="postgresql18-server postgresql18-contrib" && \
4949
INSTALL_PKGS="$INSTALL_PKGS postgresql18-pgaudit" && \
5050
PSQL_PKGS="$PSQL_PKGS postgresql18-pgvector" && \
5151
microdnf -y --setopt=tsflags=nodocs install $INSTALL_PKGS $PSQL_PKGS && \

18-minimal/Dockerfile.rhel11

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ COPY root/usr/libexec/fix-permissions /usr/libexec/fix-permissions
4545
# safe in the future. This should *never* change, the last test is there
4646
# to make sure of that.
4747
RUN INSTALL_PKGS="rsync tar gettext-envsubst nss_wrapper-libs glibc-locale-source xz" && \
48-
PSQL_PKGS="postgresql18-server postgresql18-contrib postgresql18-upgrade" && \
48+
PSQL_PKGS="postgresql18-server postgresql18-contrib gettext" && \
4949
INSTALL_PKGS="$INSTALL_PKGS postgresql18-pgaudit" && \
5050
PSQL_PKGS="$PSQL_PKGS postgresql18-pgvector" && \
5151
microdnf -y --setopt=tsflags=nodocs install $INSTALL_PKGS $PSQL_PKGS && \

specs/multispec.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ specs:
9393
openshift_tags: "database,postgresql,postgresql{{ spec.short }},postgresql-{{ spec.short }}"
9494
redhat_component: "postgresql-{{ spec.short }}-container"
9595
img_name: "{{ spec.org }}/postgresql-{{ spec.short }}"
96-
pkgs: "postgresql{{ spec.short }}-server postgresql{{ spec.short }}-contrib postgresql{{ spec.short }}-upgrade gettext"
96+
pkgs: "postgresql{{ spec.short }}-server postgresql{{ spec.short }}-contrib gettext"
9797
c9s:
9898
distros:
9999
- centos-stream-9-x86_64
@@ -126,7 +126,7 @@ specs:
126126
openshift_tags: "database,postgresql,postgresql{{ spec.short }},postgresql-{{ spec.short }}"
127127
redhat_component: "postgresql-{{ spec.short }}-container"
128128
img_name: "{{ spec.org }}/postgresql-{{ spec.short }}-{{ spec.prod }}"
129-
pkgs: "postgresql{{ spec.short }}-server postgresql{{ spec.short }}-contrib postgresql{{ spec.short }}-upgrade"
129+
pkgs: "postgresql{{ spec.short }}-server postgresql{{ spec.short }}-contrib"
130130
check_pkgs: "postgresql-server postgresql-contrib postgresql-upgrade pgvector"
131131

132132
version:

0 commit comments

Comments
 (0)