From dc2bbb5555343898a685dbf8091979d222324615 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Sun, 20 Feb 2022 02:48:24 +0100 Subject: [PATCH] Pure-FTPd 1.0.50 (#45) Co-authored-by: CrazyMax --- Dockerfile | 3 ++- rootfs/etc/cont-init.d/01-config.sh | 1 + rootfs/etc/cont-init.d/02-service.sh | 1 + rootfs/etc/cont-init.d/03-uploadscript.sh | 1 + 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 55735a9..ec2a2ea 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -ARG PUREFTPD_VERSION=1.0.49 +ARG PUREFTPD_VERSION=1.0.50 FROM --platform=${BUILDPLATFORM:-linux/amd64} crazymax/alpine-s6:3.15-2.2.0.3 AS download RUN apk --update --no-cache add curl patch tar @@ -26,6 +26,7 @@ COPY --from=download /dist/pureftpd /tmp/pureftpd WORKDIR /tmp/pureftpd RUN ./configure \ --prefix=/pure-ftpd \ + --without-ascii \ --without-humor \ --without-inetd \ --without-pam \ diff --git a/rootfs/etc/cont-init.d/01-config.sh b/rootfs/etc/cont-init.d/01-config.sh index 27b6455..8305cd6 100644 --- a/rootfs/etc/cont-init.d/01-config.sh +++ b/rootfs/etc/cont-init.d/01-config.sh @@ -1,4 +1,5 @@ #!/usr/bin/with-contenv sh +# shellcheck shell=sh TZ=${TZ:-UTC} AUTH_METHOD=${AUTH_METHOD:-puredb} diff --git a/rootfs/etc/cont-init.d/02-service.sh b/rootfs/etc/cont-init.d/02-service.sh index 5fcfb39..b979695 100644 --- a/rootfs/etc/cont-init.d/02-service.sh +++ b/rootfs/etc/cont-init.d/02-service.sh @@ -1,4 +1,5 @@ #!/usr/bin/with-contenv sh +# shellcheck shell=sh mkdir -p /etc/services.d/pure-ftpd diff --git a/rootfs/etc/cont-init.d/03-uploadscript.sh b/rootfs/etc/cont-init.d/03-uploadscript.sh index def00f8..766f23c 100644 --- a/rootfs/etc/cont-init.d/03-uploadscript.sh +++ b/rootfs/etc/cont-init.d/03-uploadscript.sh @@ -1,4 +1,5 @@ #!/usr/bin/with-contenv sh +# shellcheck shell=sh #UPLOADSCRIPT=${UPLOADSCRIPT:-/data/uploadscript.sh}