|
@@ -18,7 +18,9 @@ COPY ./entrypoint.sh /entrypoint.sh
|
|
|
RUN mkdir -p /etc/acme-dns && mkdir -p /var/lib/acme-dns && mkdir /etc/letsencrypt \
|
|
|
&& rm -rf ./config.cfg \
|
|
|
&& apk --no-cache add ca-certificates && update-ca-certificates \
|
|
|
- && apk --no-cache add py-requests certbot curl python2 sqlite bash git openssh-client \
|
|
|
+ && apk --no-cache add curl sqlite bash git openssh-client \
|
|
|
+ openssl openssl-dev python3 python3-dev musl-dev sqlite gcc libffi-dev \
|
|
|
+ && pip3 install certbot \
|
|
|
&& curl -o /etc/letsencrypt/acme-dns-auth.py \
|
|
|
https://raw.githubusercontent.com/joohoi/acme-dns-certbot-joohoi/master/acme-dns-auth.py \
|
|
|
&& chmod 0700 /etc/letsencrypt/acme-dns-auth.py
|
|
@@ -27,4 +29,4 @@ RUN mkdir -p /etc/acme-dns && mkdir -p /var/lib/acme-dns && mkdir /etc/letsencry
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|
|
|
EXPOSE 53
|
|
|
EXPOSE 53/udp
|
|
|
-CMD ["./acme-dns", "-c", "/pki/iru/wild/acme-dns/infoclinica.ru.config.cfg"]
|
|
|
+CMD ["./acme-dns", "-c", "/pki/iru/wild/acme-dns/infoclinica.ru.config.cfg"]
|