ARG ALPINE_VERSION=3.13.6 ARG BASE_IMAGE=sutty/monit FROM ${BASE_IMAGE}:${ALPINE_VERSION} MAINTAINER "f " RUN addgroup -S -g 777 ssl RUN install -dm 2700 -o root -g root /root/.ssh RUN apk add --no-cache certbot jq wget openssh-client rsync 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