2023-08-24 14:50:53 +00:00
|
|
|
ARG ALPINE_VERSION=3.18.3
|
|
|
|
ARG BASE_IMAGE=gitea.nulo.in/sutty/monit
|
2021-10-03 23:19:00 +00:00
|
|
|
FROM ${BASE_IMAGE}:${ALPINE_VERSION}
|
2024-06-21 15:21:51 +00:00
|
|
|
LABEL org.opencontainers.image.authors="f@sutty.nl"
|
2019-09-10 23:17:04 +00:00
|
|
|
|
2022-03-07 22:24:03 +00:00
|
|
|
RUN addgroup -S -g 777 ssl
|
2022-03-08 17:01:52 +00:00
|
|
|
RUN install -dm 2700 -o root -g root /root/.ssh
|
2023-12-20 14:21:18 +00:00
|
|
|
RUN apk add --no-cache certbot jq wget openssh-client rsync certbot-dns-standalone
|
2019-09-10 23:17:04 +00:00
|
|
|
|
|
|
|
COPY ./monit.conf /etc/monit.d/certbot.conf
|
2022-03-15 21:56:01 +00:00
|
|
|
COPY ./certbotd.sh /usr/local/bin/certbotd
|
2020-09-07 23:16:49 +00:00
|
|
|
COPY ./ssh_config /root/.ssh/config
|
2019-09-10 23:17:04 +00:00
|
|
|
|
|
|
|
VOLUME /etc/letsencrypt
|
|
|
|
VOLUME /var/lib/letsencrypt
|