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.
 
 
 

22 lines
573 B

FROM ubuntu:focal
RUN apt-get update && \
apt-get install -y python3-pip cron && \
pip3 install simp_le-client==0.18.0 && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
find /etc/cron* -type f -delete && \
useradd simplecert && \
touch /etc/crontab
ADD start /start
ADD simplewrapper.py /usr/local/bin/simplewrapper.py
ADD crontab /etc/cron.d/
RUN chmod +x /start /usr/local/bin/simplewrapper.py && \
chmod 644 /etc/cron.d/crontab
ENTRYPOINT ["/start"]
VOLUME /srv/acme/webroot/.well-known/acme-challenge/
VOLUME /srv/acme/conf/