embedded cert.sh
This commit is contained in:
16
Dockerfile
16
Dockerfile
@@ -1,17 +1,9 @@
|
||||
FROM alpine:edge
|
||||
FROM alpine:latest
|
||||
|
||||
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 && \
|
||||
apk -U add proftpd proftpd-mod_tls proftpd-mod_ifsession proftpd-utils openssl perl acme.sh && \
|
||||
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
|
||||
COPY rootfs /
|
||||
|
||||
RUN \
|
||||
chmod +x /run.sh && \
|
||||
chmod +x /cron.sh && \
|
||||
ln -s /cron.sh /etc/periodic/15min/reconfigure_certs.sh
|
||||
|
||||
ENTRYPOINT ["/run.sh"]
|
||||
ENTRYPOINT ["/app/entrypoint.sh"]
|
||||
|
||||
Reference in New Issue
Block a user