From 261ef12fa5ed7a84a1e4ca901de9b481961aee7d Mon Sep 17 00:00:00 2001 From: Jonas Alfredsson Date: Wed, 14 Aug 2024 08:23:32 +0200 Subject: [PATCH] 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. --- src/Dockerfile | 5 +++-- src/Dockerfile-alpine | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/Dockerfile b/src/Dockerfile index 6c93ead..bfa1ace 100644 --- a/src/Dockerfile +++ b/src/Dockerfile @@ -1,7 +1,7 @@ FROM nginx:1.27.0 LABEL maintainer="Jonas Alfredsson " -ENV CERTBOT_DNS_AUTHENTICATORS \ +ENV CERTBOT_DNS_AUTHENTICATORS="\ cloudflare \ digitalocean \ dnsimple \ @@ -17,7 +17,8 @@ ENV CERTBOT_DNS_AUTHENTICATORS \ sakuracloud \ ionos \ bunny \ - duckdns + duckdns \ + " # Needed in order to install Python packages via PIP after PEP 668 was # introduced, but I believe this is safe since we are in a container without diff --git a/src/Dockerfile-alpine b/src/Dockerfile-alpine index 532db89..9fad1e8 100644 --- a/src/Dockerfile-alpine +++ b/src/Dockerfile-alpine @@ -1,7 +1,7 @@ FROM nginx:1.27.0-alpine LABEL maintainer="Jonas Alfredsson " -ENV CERTBOT_DNS_AUTHENTICATORS \ +ENV CERTBOT_DNS_AUTHENTICATORS="\ cloudflare \ digitalocean \ dnsimple \ @@ -17,7 +17,8 @@ ENV CERTBOT_DNS_AUTHENTICATORS \ sakuracloud \ ionos \ bunny \ - duckdns + duckdns \ + " # Needed in order to install Python packages via PIP after PEP 668 was # introduced, but I believe this is safe since we are in a container without