From 76d9133208f4d6e08191ceba3bb2121f91d29e18 Mon Sep 17 00:00:00 2001 From: Dominique Quatravaux Date: Sat, 14 Oct 2023 09:37:13 +0200 Subject: [PATCH] [workaround] https://github.com/curl/curl/issues/3750 Old curl + new (GitHub's) nginx = no dice. --- docker/wp-base/Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docker/wp-base/Dockerfile b/docker/wp-base/Dockerfile index 056a1dea2..b475d0a0e 100644 --- a/docker/wp-base/Dockerfile +++ b/docker/wp-base/Dockerfile @@ -7,11 +7,15 @@ ENV NODE_VERSION_MAJOR=14 ENV DEBIAN_FRONTEND=noninteractive RUN apt-get -qy update && \ - apt-get -qy install curl ca-certificates \ + apt-get -qy install ca-certificates \ software-properties-common apt-transport-https gnupg awscli && \ apt-get -qy autoremove && \ apt-get clean +# https://github.com/curl/curl/issues/3750 +RUN set -e -x; add-apt-repository ppa:savoury1/backports; \ + apt-get -qy update; apt-get -qy install curl + RUN curl -sL https://deb.nodesource.com/setup_${NODE_VERSION_MAJOR}.x | bash - RUN apt-get -qy update && apt-get -qy install --no-install-recommends \