2021-10-03 23:19:00 +00:00
|
|
|
ARG ALPINE_VERSION=3.13.6
|
|
|
|
ARG BASE_IMAGE=sutty/monit
|
|
|
|
FROM ${BASE_IMAGE}:${ALPINE_VERSION}
|
2019-09-10 23:10:18 +00:00
|
|
|
MAINTAINER "f <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
|
2022-03-07 22:24:03 +00:00
|
|
|
RUN apk add --no-cache certbot jq wget openssh-client rsync
|
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
|