File tree Expand file tree Collapse file tree 2 files changed +11
-8
lines changed
Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Original file line number Diff line number Diff line change 1- FROM python:3.11-slim AS builder
1+ FROM python:3.11-slim
22
3- RUN apt-get update && apt-get install -y git
3+ RUN apt-get update && apt-get install -y \
4+ git \
5+ gcc \
6+ libffi-dev \
7+ libssl-dev \
8+ && rm -rf /var/lib/apt/lists/*
49
5- RUN git clone https://github.com/stackitcloud/certbot-dns-stackit.git /src
6- WORKDIR /src
7- RUN pip install --prefix=/install .
10+ RUN pip install certbot
811
9- FROM certbot/certbot:v3.3.0
12+ RUN git clone https://github.com/stackitcloud/certbot-dns-stackit.git /opt/certbot-dns-stackit \
13+ && pip install /opt/certbot-dns-stackit
1014
11- COPY --from=builder /install /usr/local
1215WORKDIR /etc/letsencrypt
1316
1417ENTRYPOINT ["certbot" ]
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ services:
1212 entrypoint : certbot
1313 command : >
1414 certonly
15- --dns-stackit
15+ --authenticator dns-stackit
1616 --dns-stackit-credentials /stackit.ini
1717 --dns-stackit-propagation-seconds 60
1818 -d "${WILDCARD}" -d "${DOMAIN}"
You can’t perform that action at this time.
0 commit comments