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.
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 \