From 22f7a20daabd732892040d7ba29b2317f1688b35 Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Wed, 24 Sep 2025 20:49:49 +0200 Subject: [PATCH] fix(docker): streamline openssh-client installation in Dockerfile - Removed temporary repository configuration for Alpine v3.21. - Upgraded system packages and added openssh-client directly to the installation process. --- docker/production/Dockerfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/docker/production/Dockerfile b/docker/production/Dockerfile index 22ae961d8..628fb5054 100644 --- a/docker/production/Dockerfile +++ b/docker/production/Dockerfile @@ -72,12 +72,10 @@ RUN apk add --no-cache gnupg && \ curl -fSsL https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor > /usr/share/keyrings/postgresql.gpg # Install system dependencies -# Install openssh-client from v3.21 to avoid bug in r8, then remove v3.21 repos -RUN echo "https://dl-cdn.alpinelinux.org/alpine/v3.21/main" >> /etc/apk/repositories && \ - apk add --no-cache 'openssh-client<10.0_p1-r8' && \ - sed -i '/v3.21/d' /etc/apk/repositories && \ - apk add --no-cache \ +RUN apk upgrade +RUN apk add --no-cache \ postgresql${POSTGRES_VERSION}-client \ + openssh-client \ git \ git-lfs \ jq \