containers-certbot-simple/Dockerfile

16 lines
429 B
Text
Raw Normal View History

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
RUN install -dm 2750 -o root -g root /root/.ssh
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
COPY ./certbot.sh /usr/local/bin/certbot
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