From 501a870e9da05daaa16f43f8eb5fe8ee1fc7cdba Mon Sep 17 00:00:00 2001 From: Nicola Murino Date: Wed, 15 May 2024 10:37:44 +0200 Subject: [PATCH] docker: download plugins compatible with SFTPGo 2.5.x Signed-off-by: Nicola Murino --- docker/scripts/download-plugins.sh | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/docker/scripts/download-plugins.sh b/docker/scripts/download-plugins.sh index 29562427..30c07539 100755 --- a/docker/scripts/download-plugins.sh +++ b/docker/scripts/download-plugins.sh @@ -17,9 +17,23 @@ esac echo "download plugins for arch ${SUFFIX}" -for PLUGIN in geoipfilter kms pubsub eventstore eventsearch metadata auth -do - echo "download plugin from https://github.com/sftpgo/sftpgo-plugin-${PLUGIN}/releases/latest/download/sftpgo-plugin-${PLUGIN}-linux-${SUFFIX}" - curl -L "https://github.com/sftpgo/sftpgo-plugin-${PLUGIN}/releases/latest/download/sftpgo-plugin-${PLUGIN}-linux-${SUFFIX}" --output "/usr/local/bin/sftpgo-plugin-${PLUGIN}" - chmod 755 "/usr/local/bin/sftpgo-plugin-${PLUGIN}" -done +curl -L "https://github.com/sftpgo/sftpgo-plugin-geoipfilter/releases/download/v1.0.7/sftpgo-plugin-geoipfilter-linux-${SUFFIX}" --output "/usr/local/bin/sftpgo-plugin-geoipfilter" +chmod 755 "/usr/local/bin/sftpgo-plugin-geoipfilter" + +curl -L "https://github.com/sftpgo/sftpgo-plugin-kms/releases/download/v1.0.10/sftpgo-plugin-kms-linux-${SUFFIX}" --output "/usr/local/bin/sftpgo-plugin-kms" +chmod 755 "/usr/local/bin/sftpgo-plugin-kms" + +curl -L "https://github.com/sftpgo/sftpgo-plugin-pubsub/releases/download/v1.0.11/sftpgo-plugin-pubsub-linux-${SUFFIX}" --output "/usr/local/bin/sftpgo-plugin-pubsub" +chmod 755 "/usr/local/bin/sftpgo-plugin-pubsub" + +curl -L "https://github.com/sftpgo/sftpgo-plugin-eventstore/releases/download/v1.0.15/sftpgo-plugin-eventstore-linux-${SUFFIX}" --output "/usr/local/bin/sftpgo-plugin-eventstore" +chmod 755 "/usr/local/bin/sftpgo-plugin-eventstore" + +curl -L "https://github.com/sftpgo/sftpgo-plugin-eventsearch/releases/download/v1.0.15/sftpgo-plugin-eventsearch-linux-${SUFFIX}" --output "/usr/local/bin/sftpgo-plugin-eventsearch" +chmod 755 "/usr/local/bin/sftpgo-plugin-eventsearch" + +curl -L "https://github.com/sftpgo/sftpgo-plugin-metadata/releases/download/v1.0.12/sftpgo-plugin-metadata-linux-${SUFFIX}" --output "/usr/local/bin/sftpgo-plugin-metadata" +chmod 755 "/usr/local/bin/sftpgo-plugin-metadata" + +curl -L "https://github.com/sftpgo/sftpgo-plugin-auth/releases/download/v1.0.5/sftpgo-plugin-auth-linux-${SUFFIX}" --output "/usr/local/bin/sftpgo-plugin-auth" +chmod 755 "/usr/local/bin/sftpgo-plugin-auth"