2019-05-17 22:41:50 +00:00
|
|
|
FROM alpine:edge
|
|
|
|
|
|
|
|
RUN \
|
|
|
|
echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories && \
|
2020-08-12 14:13:34 +00:00
|
|
|
apk -U add proftpd proftpd-mod_tls proftpd-mod_ifsession proftpd-utils openssl perl && \
|
2020-08-12 14:07:38 +00:00
|
|
|
mkdir -p /var/run/proftpd /etc/proftpd/custom.conf.d/
|
2019-05-17 22:41:50 +00:00
|
|
|
|
|
|
|
COPY custom.conf /etc/proftpd/conf.d/custom.conf
|
|
|
|
COPY run.sh /run.sh
|
|
|
|
|
|
|
|
RUN chmod +x /run.sh
|
|
|
|
|
|
|
|
ENTRYPOINT ["/run.sh"]
|