diff --git a/Services/Website/Dockerfile b/Services/Website/Dockerfile index df4967d..c4bea90 100644 --- a/Services/Website/Dockerfile +++ b/Services/Website/Dockerfile @@ -39,6 +39,10 @@ RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true \ && apt-get install -y libjemalloc-dev \ && rm -rf /var/lib/apt/lists/* +# Pin git to HTTP/1.1 for the dependency clones. GitHub answers the git-upload-pack POST with a 401 when it is sent +# over HTTP/2 by the git 2.43 that Noble ships, which SPM reports as a clone failure asking for a username. +RUN git config --global http.version HTTP/1.1 + # Set up a build area WORKDIR /build