certbot-ovh/Dockerfile

19 lines
435 B
Text
Raw Permalink Normal View History

2022-06-24 16:22:19 +02:00
FROM alpine:latest
RUN apk --no-cache add \
certbot \
openssl \
netcat-openbsd \
python3 \
py3-pip \
&& python3 -m pip install --break-system-packages certbot-dns-ovh
2022-06-24 16:22:19 +02:00
RUN mkdir -p /etc/periodic/12h
COPY start.sh certbot-ovh.sh /usr/local/bin/
COPY certbot-ovh.ini.tmpl /etc/certbot-ovh.ini.tmpl
COPY periodic/12h/certbot /etc/periodic/12h
VOLUME [ "/etc/letsencrypt/" ]
ENTRYPOINT [ "/bin/sh", "-c" ]
CMD [ "start.sh" ]