]> quire.kejadlen.dev Git - quire.git/commitdiff
Add libcgi-pm-perl to Dockerfile runtime deps for gitweb
authorAlpha Chen <alpha@kejadlen.dev>
Mon, 27 Apr 2026 19:54:31 +0000 (12:54 -0700)
committerAlpha Chen <alpha@kejadlen.dev>
Mon, 27 Apr 2026 19:56:01 +0000 (12:56 -0700)
CGI.pm was removed from Perl core in v5.22 and is not included in the
debian:trixie-slim perl package, so gitweb.cgi fails at startup.

Assisted-by: GLM-5.1 via pi
Dockerfile

index 375e3a7110e888c29c827ff8c4b3d9874a978ec7..180cf3784769a5e3933ef11f97e7332eec964392 100644 (file)
@@ -65,13 +65,14 @@ FROM debian:trixie-slim
 RUN apt-get update \
     && apt-get install -y --no-install-recommends \
         ca-certificates \
+        libcgi-pm-perl \
         libcurl4 \
         libexpat1 \
         lighttpd \
         perl \
     && rm -rf /var/lib/apt/lists/*
-# TODO(vys): lighttpd and perl are interim deps for gitweb; remove both
-# when quire serve has its own web view.
+# TODO(vys): lighttpd, perl, and libcgi-pm-perl are interim deps for gitweb;
+# remove all three when quire serve has its own web view.
 
 COPY --from=git-builder /usr/local/bin/git /usr/local/bin/git
 COPY --from=git-builder /usr/local/libexec/git-core/ /usr/local/libexec/git-core/