update simp_le
This commit is contained in:
parent
a7d2c92ec2
commit
5278759424
|
@ -1,8 +1,10 @@
|
||||||
FROM ubuntu:xenial
|
FROM ubuntu:focal
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y python3-pip cron && \
|
apt-get install -y python3-pip cron && \
|
||||||
pip3 install simp_le-client && \
|
pip3 install simp_le-client==0.18.0 && \
|
||||||
|
apt-get clean && \
|
||||||
|
rm -rf /var/lib/apt/lists/* && \
|
||||||
find /etc/cron* -type f -delete && \
|
find /etc/cron* -type f -delete && \
|
||||||
useradd simplecert && \
|
useradd simplecert && \
|
||||||
touch /etc/crontab
|
touch /etc/crontab
|
||||||
|
|
|
@ -30,7 +30,8 @@ def call_le(email, domain_names):
|
||||||
"--email", email,
|
"--email", email,
|
||||||
"-f", "account_key.json",
|
"-f", "account_key.json",
|
||||||
"-f", "fullchain.pem",
|
"-f", "fullchain.pem",
|
||||||
"-f", "key.pem"]
|
"-f", "key.pem",
|
||||||
|
"-f", "account_reg.json"]
|
||||||
|
|
||||||
for domain in domain_names:
|
for domain in domain_names:
|
||||||
le_call += ["-d", domain]
|
le_call += ["-d", domain]
|
||||||
|
|
Loading…
Reference in New Issue