Skip to content

Commit

Permalink
services/pkg/sftpgo: update, add rsync, move env to nomad
Browse files Browse the repository at this point in the history
  • Loading branch information
classabbyamp authored and the-maldridge committed Dec 31, 2024
1 parent 9d62fd4 commit 848d2a3
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions services/pkg/sftpgo/Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]

0 comments on commit 848d2a3

Please sign in to comment.