From a23fb1e33ffd68081e1b8c8c996b956aecb6c986 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Thu, 4 Jan 2024 13:44:07 +0100 Subject: [PATCH] Fix postgres12-client download --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1dfe6a12..116159d2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,8 @@ RUN addgroup -g 4200 appgroup \ # upgrade all installed packages to fix potential CVEs in advance # also remove apk package manager to hopefully remove dependecy on openssl 🤞 RUN apk upgrade --no-cache --no-progress \ - && apk add --no-cache --no-progress ca-certificates postgresql12-client postgresql15-client curl jq \ + && apk add --no-cache --no-progress ca-certificates postgresql15-client curl jq \ + && apk add --no-cache --no-progress --repository=https://dl-cdn.alpinelinux.org/alpine/v3.18/community postgresql12-client \ && apk del --no-cache --no-progress apk-tools alpine-keys COPY --from=builder /pkg/ /usr/