From b894fc9239bb6430d55e7f29f6184a77d81f4d59 Mon Sep 17 00:00:00 2001
From: josep-tecnativa <josep.guardiola@tecnativa.com>
Date: Thu, 14 Mar 2024 09:18:49 +0100
Subject: [PATCH] [FIX] Changed the PostgreSQL 12 repository. The previous one
 referenced version 13 of PostgreSQL, as seen in the Alpine documentation:
 https://alpinelinux.org/posts/Alpine-3.14.0-released.html. To fix this issue,
 the latest Alpine release with PostgreSQL 12 was sought, which is version
 3.12. This was also confirmed in the documentation:
 https://alpinelinux.org/posts/Alpine-3.12.0-released.html

---
 Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Dockerfile b/Dockerfile
index cf0319eb..0627d9c3 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -123,7 +123,7 @@ RUN set -eux; \
     apk fetch --no-cache --repositories-file psql_repos postgresql-client -o "$APK_POSTGRES_DIR/10"; \
     echo "http://dl-cdn.alpinelinux.org/alpine/v3.10/main" > psql_repos; \
     apk fetch --no-cache --repositories-file psql_repos postgresql-client -o "$APK_POSTGRES_DIR/11"; \
-    echo "http://dl-cdn.alpinelinux.org/alpine/v3.14/main" > psql_repos; \
+    echo "http://dl-cdn.alpinelinux.org/alpine/v3.12/main" > psql_repos; \
     apk fetch --no-cache --repositories-file psql_repos postgresql-client -o "$APK_POSTGRES_DIR/12"; \
     apk fetch --no-cache postgresql13-client -o "$APK_POSTGRES_DIR/13"; \
     apk fetch --no-cache postgresql14-client -o "$APK_POSTGRES_DIR/14"; \