Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix(docker): adjust openssh-client installation in Dockerfile to avoid version bug

Andras Bacsaif3164f6ac10c
diff --git a/docker/production/Dockerfile b/docker/production/Dockerfile
index 6c9628a818..22ae961d85 100644
--- a/docker/production/Dockerfile
+++ b/docker/production/Dockerfile
@@ -72,9 +72,12 @@ 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
-RUN apk add --no-cache \
+# 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 \
postgresql${POSTGRES_VERSION}-client \
- openssh-client \
git \
git-lfs \
jq \