ARG ALPINE_VERSION=3.18.3 ARG BASE_IMAGE=gitea.nulo.in/sutty/monit FROM ${BASE_IMAGE}:${ALPINE_VERSION} LABEL org.opencontainers.image.authors="f@sutty.nl" RUN addgroup -S -g 777 ssl RUN apk add --no-cache certbot certbot-dns-standalone COPY ./monit.conf /etc/monit.d/certbot.conf COPY ./certbotd.sh /usr/local/bin/certbotd COPY ./ssh_config /root/.ssh/config VOLUME /etc/letsencrypt VOLUME /var/lib/letsencrypt