From cd4502363fcc3e6eb2ca4c6bb38569393817a618 Mon Sep 17 00:00:00 2001 From: Mathias Bogaert Date: Wed, 24 Sep 2025 20:57:51 +0100 Subject: [PATCH] feat: enable HTTP/2 for Git operations Set git config http.version=HTTP/2 globally. Falls back to HTTP/1.1 automatically if server doesn't support HTTP/2. Signed-off-by: Mathias Bogaert --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 735fde62..19bba186 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,6 +34,7 @@ RUN git config --global user.email "git@localhost" RUN git config --global user.name "git" RUN git config --global pull.rebase "false" RUN git config --global protocol.file.allow "always" +RUN git config --global http.version "HTTP/2" # Remove unrelated git binaries we don't need WORKDIR /usr/libexec/git-core