Skip to content

Commit 261ef12

Browse files
Change to recommended way of defining ENV
We are getting warnings that we are using the legacy way of defining environement variables, so let's just switch to the new way. It appears to work just fine like this as well.
1 parent abaf5a7 commit 261ef12

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/Dockerfile

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM nginx:1.27.0
22
LABEL maintainer="Jonas Alfredsson <[email protected]>"
33

4-
ENV CERTBOT_DNS_AUTHENTICATORS \
4+
ENV CERTBOT_DNS_AUTHENTICATORS="\
55
cloudflare \
66
digitalocean \
77
dnsimple \
@@ -17,7 +17,8 @@ ENV CERTBOT_DNS_AUTHENTICATORS \
1717
sakuracloud \
1818
ionos \
1919
bunny \
20-
duckdns
20+
duckdns \
21+
"
2122

2223
# Needed in order to install Python packages via PIP after PEP 668 was
2324
# introduced, but I believe this is safe since we are in a container without

src/Dockerfile-alpine

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM nginx:1.27.0-alpine
22
LABEL maintainer="Jonas Alfredsson <[email protected]>"
33

4-
ENV CERTBOT_DNS_AUTHENTICATORS \
4+
ENV CERTBOT_DNS_AUTHENTICATORS="\
55
cloudflare \
66
digitalocean \
77
dnsimple \
@@ -17,7 +17,8 @@ ENV CERTBOT_DNS_AUTHENTICATORS \
1717
sakuracloud \
1818
ionos \
1919
bunny \
20-
duckdns
20+
duckdns \
21+
"
2122

2223
# Needed in order to install Python packages via PIP after PEP 668 was
2324
# introduced, but I believe this is safe since we are in a container without

0 commit comments

Comments
 (0)