2020-10-21 22:37:51 +00:00
|
|
|
ARG REPO_LOCATION
|
|
|
|
# ARG BASE_VERSION
|
|
|
|
|
|
|
|
FROM ${REPO_LOCATION}minideb
|
|
|
|
|
|
|
|
RUN install_packages certbot
|
|
|
|
|
|
|
|
# Only required if we use acme.sh instead of certbot: openssl openssh-client coreutils dnsutils curl socat tzdata tar oathtool
|
|
|
|
|
2020-10-21 22:49:28 +00:00
|
|
|
VOLUME /srv/configdir /srv/workdir /srv/logsdir
|
2020-10-21 22:37:51 +00:00
|
|
|
|
|
|
|
USER 100:100
|
2020-10-21 22:49:28 +00:00
|
|
|
ENTRYPOINT [ "/usr/bin/certbot", \
|
|
|
|
"--config-dir", "/srv/configdir", \
|
|
|
|
"--work-dir", "/srv/workdir", \
|
|
|
|
"--logs-dir", "/srv/logsdir" ]
|