@@ -11,7 +11,7 @@ FROM {{ spec.s2i_base }}
1111# PostgreSQL administrative account
1212
1313ENV POSTGRESQL_VERSION={{ spec.version }} \
14- {% if spec.prod != "rhel8" or spec.version == "10" %}
14+ {% if spec.prod != "rhel8" or spec.prod != "rhel9" or spec. version == "10" %}
1515 POSTGRESQL_PREV_VERSION={{ spec.prev_version }} \
1616 {% endif %}
1717 HOME=/var/lib/pgsql \
@@ -73,7 +73,7 @@ RUN {{ spec.environment_setup }}
7373{% if spec.version not in ["9.6" , "10" , "11" ] %}
7474 {% if spec.prod == 'rhel7' or spec.prod == 'centos7' %}
7575 INSTALL_PKGS="$INSTALL_PKGS rh-postgresql{{ spec.short }}-pgaudit" && \
76- {% elif spec.prod == 'rhel8' or spec.prod == 'c9s' or spec.prod == 'c8s' %}
76+ {% elif spec.prod == 'rhel8' or spec.prod == 'rhel9' or spec.prod == ' c9s' or spec.prod == 'c8s' %}
7777 INSTALL_PKGS="$INSTALL_PKGS pgaudit" && \
7878 {% endif %}
7979{% endif %}
@@ -95,7 +95,7 @@ ENV CONTAINER_SCRIPTS_PATH=/usr/share/container-scripts/postgresql \
9595COPY root /
9696COPY ./s2i/bin/ $STI_SCRIPTS_PATH
9797
98- {% if spec.prod != "rhel8" and config.os.id != "fedora" and spec.prod != "c8s" and spec.prod != "c9s" %}
98+ {% if spec.prod != "rhel8" and spec.prod != "rhel9" and config.os.id != "fedora" and spec.prod != "c8s" and spec.prod != "c9s" %}
9999# When bash is started non-interactively, to run a shell script, for example it
100100# looks for this variable and source the content of this file. This will enable
101101# the SCL for all scripts without need to do 'scl enable'.
0 commit comments