ADD file:73e68ae6852c9afbb2989dc9c5b7c6668843f454b1bdcfb48658bfbc6c4af69e 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"] |