From 5cdd2fff97a8ae173a94451855820402062bae6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=B9=B310304955?= Date: Thu, 16 Oct 2025 17:30:08 +0800 Subject: [PATCH 1/2] Add libssh2-devel package for gpfdist SFTP protocol gpfdist, Cloudberry's parallel file distribution program, traditionally required data files to be co-located with the gpfdist process. This limitation made it cumbersome to load data from remote servers, often requiring an extra data transfer step. This commit addresses the issue of gpfdist logs continuously growing and occupying a large amount of disk space in a persistent working scenario. libssh2-devel is introduced as a dependency package for the new feature in the PR apache#1226. --- devops/deploy/docker/build/rocky8/Dockerfile | 1 + devops/deploy/docker/build/rocky9/Dockerfile | 1 + 2 files changed, 2 insertions(+) diff --git a/devops/deploy/docker/build/rocky8/Dockerfile b/devops/deploy/docker/build/rocky8/Dockerfile index daef18a4e4e..7bcb8c645d5 100644 --- a/devops/deploy/docker/build/rocky8/Dockerfile +++ b/devops/deploy/docker/build/rocky8/Dockerfile @@ -132,6 +132,7 @@ RUN dnf makecache && \ zlib-devel && \ dnf install -y -d0 --enablerepo=devel \ libuv-devel \ + libssh2-devel \ libyaml-devel \ perl-IPC-Run \ protobuf-devel && \ diff --git a/devops/deploy/docker/build/rocky9/Dockerfile b/devops/deploy/docker/build/rocky9/Dockerfile index 6246ae79d75..6e19b850cbe 100644 --- a/devops/deploy/docker/build/rocky9/Dockerfile +++ b/devops/deploy/docker/build/rocky9/Dockerfile @@ -135,6 +135,7 @@ RUN dnf makecache && \ zlib-devel && \ dnf install -y --enablerepo=crb \ libuv-devel \ + libssh2-devel \ libyaml-devel \ perl-IPC-Run \ protobuf-devel && \ From f003c51988310d620fd8393ee8578fba1f6586ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=B9=B310304955?= Date: Thu, 16 Oct 2025 19:25:34 +0800 Subject: [PATCH 2/2] Add libssh2-devel package for gpfdist SFTP protocol MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Installing libssh2 Dependencies on Ubuntu (dockerfile) --- devops/deploy/docker/build/ubuntu22.04/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/devops/deploy/docker/build/ubuntu22.04/Dockerfile b/devops/deploy/docker/build/ubuntu22.04/Dockerfile index 7a3abd61c85..09cf79dd555 100644 --- a/devops/deploy/docker/build/ubuntu22.04/Dockerfile +++ b/devops/deploy/docker/build/ubuntu22.04/Dockerfile @@ -110,6 +110,7 @@ RUN apt-get update && \ libperl-dev \ libprotobuf-dev \ libreadline-dev \ + libssh2-1-dev \ libssl-dev \ libuv1-dev \ libxerces-c-dev \