21 lines
555 B
Docker
21 lines
555 B
Docker
FROM registry.gitlab.com/thallian/docker-confd-env:master
|
|
|
|
RUN apk add --no-cache libressl openssh-client openldap zlib
|
|
RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing \
|
|
proftpd proftpd-mod_ldap proftpd-mod_sftp proftpd-mod_auth_file 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 /etc/proftpd/keys /var/lib/ftp/data
|
|
|
|
EXPOSE 22
|