From d0493c7088c1f25ea5205565867f40281dd2167e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 15 Jun 2023 04:58:06 +0000 Subject: [PATCH] Bump nginx from 1.25.0 to 1.25.1 Also add PIP_BREAK_SYSTEM_PACKAGES as an argument during the build process so that PIP packages can be installed. --- src/Dockerfile | 9 +++++++-- src/Dockerfile-alpine | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/Dockerfile b/src/Dockerfile index ccabcdb..1656f84 100644 --- a/src/Dockerfile +++ b/src/Dockerfile @@ -1,4 +1,4 @@ -FROM nginx:1.25.0 +FROM nginx:1.25.1 LABEL maintainer="Jonas Alfredsson <jonas.alfredsson@protonmail.com>" ENV CERTBOT_DNS_AUTHENTICATORS \ @@ -18,6 +18,11 @@ ENV CERTBOT_DNS_AUTHENTICATORS \ sakuracloud \ ionos +# 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 +# any real need to cater to other programs/environments. +ARG PIP_BREAK_SYSTEM_PACKAGES=1 + # Do a single run command to make the intermediary containers smaller. RUN set -ex && \ # Install packages necessary during the build phase (for all architectures). @@ -26,7 +31,7 @@ RUN set -ex && \ build-essential \ cargo \ curl \ - libffi7 \ + libffi8 \ libffi-dev \ libssl-dev \ openssl \ diff --git a/src/Dockerfile-alpine b/src/Dockerfile-alpine index b8ef7ee..2e1a5ad 100644 --- a/src/Dockerfile-alpine +++ b/src/Dockerfile-alpine @@ -1,4 +1,4 @@ -FROM nginx:1.25.0-alpine +FROM nginx:1.25.1-alpine LABEL maintainer="Jonas Alfredsson <jonas.alfredsson@protonmail.com>" ENV CERTBOT_DNS_AUTHENTICATORS \