|
@@ -21,12 +21,12 @@ RUN mkdir -p /etc/acme-dns && mkdir -p /var/lib/acme-dns && mkdir /etc/letsencry
|
|
&& apk --no-cache add curl 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 \
|
|
openssl openssl-dev python3 python3-dev musl-dev sqlite gcc libffi-dev \
|
|
&& pip3 install certbot \
|
|
&& pip3 install certbot \
|
|
|
|
+ && ln -sf /usr/bin/python3 /usr/bin/python \
|
|
&& curl -o /etc/letsencrypt/acme-dns-auth.py \
|
|
&& curl -o /etc/letsencrypt/acme-dns-auth.py \
|
|
https://raw.githubusercontent.com/joohoi/acme-dns-certbot-joohoi/master/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
|
|
&& chmod 0700 /etc/letsencrypt/acme-dns-auth.py
|
|
|
|
|
|
-#VOLUME ["/etc/acme-dns", "/var/lib/acme-dns"]
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|
|
ENTRYPOINT ["/entrypoint.sh"]
|
|
EXPOSE 53
|
|
EXPOSE 53
|
|
EXPOSE 53/udp
|
|
EXPOSE 53/udp
|
|
-CMD ["./acme-dns", "-c", "/pki/iru/wild/acme-dns/infoclinica.ru.config.cfg"]
|
|
|
|
|
|
+
|