diff --git a/Dockerfile b/Dockerfile index 13c541c..e49ae9c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,11 +23,12 @@ 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 -RUN addgroup -g 2222 access +RUN addgroup -g 2222 access RUN addgroup proftpd access RUN rm /etc/proftpd/dhparams.pem -RUN mkdir /etc/proftpd/keys/ +RUN mkdir /etc/proftpd/keys/ && /var/run/proftpd +RUN chown -R proftpd:proftpd /var/run/proftpd ADD /rootfs /