ADD file:3ff0cc8d111595978eb50cdba91144382ce083c400d45785d53dbb03615a4890 in / |
CMD ["bash"] |
RUN /bin/sh -c apt update && apt install -y bash cron python3 python3-venv procps tini # buildkit |
RUN /bin/sh -c python3 -m venv /opt/certbot/ && /opt/certbot/bin/pip install --upgrade pip # buildkit |
RUN /bin/sh -c /opt/certbot/bin/pip install certbot certbot-dns-cloudflare && ln -s /opt/certbot/bin/certbot /usr/bin/certbot # buildkit |
RUN /bin/sh -c mkdir -p /config # buildkit |
COPY run.sh / renew.sh / # buildkit |
RUN /bin/sh -c chmod +x /run.sh /renew.sh # buildkit |
ENV DOMAINS= |
ENV EMAIL= |
ENV INTERVAL=0 */6 * * * |
ENV STAGING=false |
ENV PROPOGATION_TIME=10 |
ENV GENERATE_DHPARAM=true |
ENTRYPOINT ["/usr/bin/tini" "-s" "/run.sh"] |