From facec54123ed7cbc1ea095791424c722e0633df2 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 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docker/wp-base/Dockerfile b/docker/wp-base/Dockerfile index 056a1dea2..6ea28a074 100644 --- a/docker/wp-base/Dockerfile +++ b/docker/wp-base/Dockerfile @@ -7,11 +7,18 @@ 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; \ + (echo "Package: *" ; \ + echo "Pin: release o=LP-PPA-xapienz-curl34" ; \ + echo "Pin-Priority: 600" ) > /etc/apt/preferences.d/xapienz; \ + 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 \