docker-images/images/certbot/Dockerfile

17 lines
456 B
Docker

ARG REPO_LOCATION
# ARG BASE_VERSION
FROM ${REPO_LOCATION}minideb
RUN install_packages certbot python3-certbot-dns-cloudflare
# Only required if we use acme.sh instead of certbot: openssl openssh-client coreutils dnsutils curl socat tzdata tar oathtool
VOLUME /srv/configdir /srv/workdir /srv/logsdir
USER 100:100
ENTRYPOINT [ "/usr/bin/certbot", \
"--config-dir", "/srv/configdir", \
"--work-dir", "/srv/workdir", \
"--logs-dir", "/srv/logsdir" ]