FROM alpine:edge RUN \ echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories && \ apk -U add proftpd proftpd-mod_tls proftpd-mod_ifsession proftpd-utils openssl perl && \ mkdir -p /var/run/proftpd /etc/proftpd/custom.conf.d/ COPY custom.conf /etc/proftpd/conf.d/custom.conf COPY run.sh /run.sh COPY cron.sh /cron.sh RUN \ chmod +x /run.sh && \ chmod +x /cron.sh && \ ln -s /cron.sh /etc/periodic/15min/reconfigure_certs.sh ENTRYPOINT ["/run.sh"]