Skip to content

Commit

Permalink
[workaround] curl/curl#3750
Browse files Browse the repository at this point in the history
Old curl + new (GitHub's) nginx = no dice.
  • Loading branch information
Dominique Quatravaux committed Oct 14, 2023
1 parent 8e8dda2 commit facec54
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docker/wp-base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit facec54

Please sign in to comment.