You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
504 B
17 lines
504 B
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"]
|
|
|