From f1ab5ecdb48b91217b3054449f5fee8b3ea6edc9 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 26 Apr 2026 01:56:08 +0000 Subject: [PATCH] Install perl in git-builder stage so make can build git debian:trixie-slim ships without perl, but git's Makefile invokes /usr/bin/perl during the build to generate sources (command-list, GIT-VERSION-FILE, perl/Makefile via ExtUtils::MakeMaker, etc.). Without it, `make` aborts almost immediately with exit 2, which is what run 24932667835's Build job hit. The git INSTALL doc lists Perl 5.26+ as a required build dep. --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index c2ee439..8221c3a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,6 +18,7 @@ RUN apt-get update \ libssl-dev \ libz-dev \ make \ + perl \ && rm -rf /var/lib/apt/lists/* RUN curl -fsSL https://github.com/git/git/archive/refs/tags/v${GIT_VERSION}.tar.gz \ -- 2.54.0