Skip to content

Commit 141b474

Browse files
committed
Modify Fedora Dockerfile to install proper pgaudit package
Signed-off-by: Petr "Stone" Hracek <[email protected]>
1 parent d271a00 commit 141b474

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Dockerfile.fedora

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,12 @@ RUN INSTALL_PKGS="rsync tar gettext bind-utils postgresql16-server postgresql16-
5454
RUN INSTALL_PKGS="rsync tar gettext bind-utils postgresql-server postgresql-contrib nss_wrapper " && \
5555
{% endif %}
5656
INSTALL_PKGS+="findutils xz" && \
57-
{% if spec.version not in ["9.6", "10", "11"] %}
57+
{% if spec.version not in ["9.6", "10", "11", "16"] %}
5858
INSTALL_PKGS+=" pgaudit" && \
5959
{% endif %}
60+
{% if spec.version == "16" %}
61+
INSTALL_PKGS+=" postgresql16-pgaudit" && \
62+
{% endif %}
6063
{% if spec.version not in ["16"] %}
6164
dnf -y module enable postgresql:{{ spec.version }} && \
6265
{% endif %}

0 commit comments

Comments
 (0)