From 2457eac2ea0437db79f9c1840f37cb26627cfd55 Mon Sep 17 00:00:00 2001
From: snyk-bot <snyk-bot@snyk.io>
Date: Fri, 19 Jan 2024 15:16:13 +0000
Subject: [PATCH] fix: postgresql-containers/build/postgres-ha/Dockerfile to
 reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-RHEL8-GNUTLS-6158848
- https://snyk.io/vuln/SNYK-RHEL8-GNUTLS-6159184
- https://snyk.io/vuln/SNYK-RHEL8-KRB5LIBS-6152608
- https://snyk.io/vuln/SNYK-RHEL8-LIBGCC-1909569
- https://snyk.io/vuln/SNYK-RHEL8-SQLITELIBS-6140699
---
 postgresql-containers/build/postgres-ha/Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/postgresql-containers/build/postgres-ha/Dockerfile b/postgresql-containers/build/postgres-ha/Dockerfile
index d6fc3ed5..65497fe4 100644
--- a/postgresql-containers/build/postgres-ha/Dockerfile
+++ b/postgresql-containers/build/postgres-ha/Dockerfile
@@ -14,7 +14,7 @@ RUN git clone -b $YQ_VERSION https://github.com/mikefarah/yq.git .; \
     CGO_ENABLED=$CGO_ENABLED GOOS=$GOOS GOARCH=$GOARCH \
     make local build
 
-FROM redhat/ubi8-minimal
+FROM redhat/ubi8-minimal:8.9-1108.1705420507
 
 LABEL name="Percona PostgreSQL Distribution" \
     vendor="Percona" \