Paolo Asperti
8c2fcfc4a1
All checks were successful
continuous-integration/drone/tag Build is passing
18 lines
504 B
Docker
18 lines
504 B
Docker
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"]
|