From 1213c385ee2a7198def9dc5b93fe54a625ab7489 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Tue, 31 Dec 2024 02:41:34 -0500 Subject: [PATCH] services/pkg/sftpgo: update, add rsync, move env to nomad --- services/pkg/sftpgo/Dockerfile | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/services/pkg/sftpgo/Dockerfile b/services/pkg/sftpgo/Dockerfile index c3f74e36..bd49253f 100644 --- a/services/pkg/sftpgo/Dockerfile +++ b/services/pkg/sftpgo/Dockerfile @@ -1,14 +1,6 @@ FROM ghcr.io/void-linux/void-glibc:latest -RUN xbps-install -Syu xbps && xbps-install -Sy tini sftpgo NetAuth-sftpgo-hook - -ENV SFTPGO_HTTPD__TEMPLATES_PATH=/usr/share/sftpgo/templates \ - SFTPGO_HTTPD__STATIC_FILES_PATH=/usr/share/sftpgo/static \ - SFTPGO_DATA_PROVIDER__DRIVER=sqlite \ - SFTPGO_DATA_PROVIDER__NAME=/data/sftpgo.db \ - SFTPGO_SFTPD__HOST_KEYS=/secrets/id_rsa,/secrets/id_ecdsa,/secrets/id_ed25519 \ - SFTPGO_DATA_PROVIDER__EXTERNAL_AUTH_HOOK=/usr/libexec/sftpgo/netauth-hook \ - SFTPGO_NETAUTH_HOMEDIR=/data/home \ - SFTPGO_NETAUTH_REQUIREGROUP=sftpgo +RUN xbps-install -Syu xbps && xbps-install -yu && \ + xbps-install -Sy tini sftpgo NetAuth-sftpgo-hook rsync ENTRYPOINT ["/usr/bin/tini", "/usr/bin/sftpgo", "serve"]