]> quire.kejadlen.dev Git - quire.git/commitdiff
Add highlight to Dockerfile runtime deps for gitweb main
authorAlpha Chen <alpha@kejadlen.dev>
Mon, 27 Apr 2026 21:19:55 +0000 (14:19 -0700)
committerAlpha Chen <alpha@kejadlen.dev>
Mon, 27 Apr 2026 21:20:03 +0000 (14:20 -0700)
Gitweb syntax highlighting requires the highlight package, which is not
in debian:trixie-slim.

Assisted-by: GLM-5.1 via pi
Dockerfile

index 180cf3784769a5e3933ef11f97e7332eec964392..97a5b0eb218cf2c8beef814ed97a2f8091f6d3a5 100644 (file)
@@ -65,14 +65,15 @@ FROM debian:trixie-slim
 RUN apt-get update \
     && apt-get install -y --no-install-recommends \
         ca-certificates \
 RUN apt-get update \
     && apt-get install -y --no-install-recommends \
         ca-certificates \
+        highlight \
         libcgi-pm-perl \
         libcurl4 \
         libexpat1 \
         lighttpd \
         perl \
     && rm -rf /var/lib/apt/lists/*
         libcgi-pm-perl \
         libcurl4 \
         libexpat1 \
         lighttpd \
         perl \
     && rm -rf /var/lib/apt/lists/*
-# TODO(vys): lighttpd, perl, and libcgi-pm-perl are interim deps for gitweb;
-# remove all three when quire serve has its own web view.
+# TODO(vys): highlight, lighttpd, libcgi-pm-perl, and perl are interim deps
+# for gitweb; remove all four 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/
 
 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/