26 lines
426 B
Docker
26 lines
426 B
Docker
FROM docker.io/thallian/confd-env:3.17
|
|
|
|
RUN apk add --no-cache \
|
|
openssl \
|
|
openssh-client \
|
|
zlib \
|
|
perl \
|
|
proftpd \
|
|
proftpd-mod_sftp \
|
|
proftpd-utils
|
|
|
|
RUN addgroup -g 2222 access
|
|
RUN addgroup proftpd access
|
|
|
|
RUN rm /etc/proftpd/dhparams.pem
|
|
RUN mkdir /etc/proftpd/keys/ && mkdir /run/proftpd
|
|
RUN chown -R proftpd:proftpd /run/proftpd
|
|
|
|
ADD /rootfs /
|
|
|
|
WORKDIR /
|
|
|
|
VOLUME /var/lib/ftp/data
|
|
|
|
EXPOSE 2222
|