Fix Dockerfile: Correct package name for libgdk-pixbuf in Debian Bookworm

This commit is contained in:
Flatlogic Bot 2026-01-31 04:04:28 +00:00
parent 7c8d1751b7
commit 90f98ed775

View File

@ -8,8 +8,8 @@ ENV PYTHONUNBUFFERED=1
WORKDIR /app
# Install system dependencies
# WeasyPrint needs: libpango-1.0-0 libpangoft2-1.0-0 libjpeg-dev libopenjp2-7-dev libxcb1
# Removed libharfbuzz-subset0 as it is not available in Bookworm (Debian 12), handled by dependencies
# WeasyPrint/Pango dependencies for Debian 12 (Bookworm)
# Note: package names must match Bookworm repositories
RUN apt-get update && apt-get install -y \
gcc \
pkg-config \
@ -20,7 +20,7 @@ RUN apt-get update && apt-get install -y \
libjpeg-dev \
libopenjp2-7-dev \
libxcb1 \
libgdk-pixbuf2.0-0 \
libgdk-pixbuf-2.0-0 \
shared-mime-info \
libffi-dev \
libssl-dev \
@ -42,4 +42,4 @@ RUN chmod +x /app/entrypoint.sh
EXPOSE 8000
# Entrypoint
ENTRYPOINT ["/app/entrypoint.sh"]
ENTRYPOINT ["/app/entrypoint.sh"]