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

2 years ago
FROM ubuntu:focal
4 years ago
RUN apt-get update && \
apt-get install -y python3-pip cron && \
2 years ago
pip3 install simp_le-client==0.18.0 && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
4 years ago
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/