containerized ACME client
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

23 lines
573 B

  1. FROM ubuntu:focal
  2. RUN apt-get update && \
  3. apt-get install -y python3-pip cron && \
  4. pip3 install simp_le-client==0.18.0 && \
  5. apt-get clean && \
  6. rm -rf /var/lib/apt/lists/* && \
  7. find /etc/cron* -type f -delete && \
  8. useradd simplecert && \
  9. touch /etc/crontab
  10. ADD start /start
  11. ADD simplewrapper.py /usr/local/bin/simplewrapper.py
  12. ADD crontab /etc/cron.d/
  13. RUN chmod +x /start /usr/local/bin/simplewrapper.py && \
  14. chmod 644 /etc/cron.d/crontab
  15. ENTRYPOINT ["/start"]
  16. VOLUME /srv/acme/webroot/.well-known/acme-challenge/
  17. VOLUME /srv/acme/conf/