diff --git a/Dockerfile b/Dockerfile index 6eb1a02..c38e369 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,6 +9,11 @@ RUN chmod 444 /etc/nginx/default.d/ssl/* && chmod 400 /etc/nginx/default.d/ssl/d RUN apt-get update && apt-get install certbot -yy \ && rm -rf /var/lib/apt/lists/* /tmp/* +# Add Cloudflare Certbot +RUN echo "deb http://ftp.debian.org/debian stretch-backports main" > /etc/apt/sources.list.d/stretch-backports.list \ + && apt-get update && apt-get -t stretch-backports install python3-certbot-dns-cloudflare -yy \ + && rm -rf /var/lib/apt/lists/* /tmp/* + #RUN cd /usr/local/sbin && \ # curl -O https://dl.eff.org/certbot-auto && \ # chmod +x certbot-auto && ./certbot-auto -n --install-only