diff --git a/Dockerfile b/Dockerfile index 0830ab4..f77c87c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,10 @@ -FROM ubuntu:xenial +FROM ubuntu:focal RUN apt-get update && \ 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 && \ useradd simplecert && \ touch /etc/crontab diff --git a/simplewrapper.py b/simplewrapper.py index f355ce7..acada8c 100644 --- a/simplewrapper.py +++ b/simplewrapper.py @@ -30,7 +30,8 @@ def call_le(email, domain_names): "--email", email, "-f", "account_key.json", "-f", "fullchain.pem", - "-f", "key.pem"] + "-f", "key.pem", + "-f", "account_reg.json"] for domain in domain_names: le_call += ["-d", domain]