alpine...

This commit is contained in:
Florian Hensel
2025-12-13 12:28:13 +01:00
parent 0dbebc858b
commit 60308f76f3

View File

@@ -1,18 +1,18 @@
FROM squidfunk/mkdocs-material:latest FROM squidfunk/mkdocs-material:latest
# Systemabhängige WeasyPrint-Dependencies (minimal für Debian/Ubuntu-Basis) # Alpine-Pakete für WeasyPrint
RUN apt-get update && \ RUN apk add --no-cache \
apt-get install -y \ pango \
libpango-1.0-0 \ pango-dev \
libpangoft2-1.0-0 \ cairo \
libpango1.0-dev \ cairo-dev \
libffi-dev \ gdk-pixbuf \
libcairo2 \ gdk-pixbuf-dev \
libjpeg-dev \ jpeg-dev \
libpng-dev && \ zlib-dev \
apt-get clean && rm -rf /var/lib/apt/lists/* libffi-dev
# mkdocs-to-pdf + Extras # Plugin installieren
RUN pip install --no-cache-dir mkdocs-to-pdf[all] # PyPI-Installation [web:0] RUN pip install --no-cache-dir mkdocs-to-pdf[all]
WORKDIR /docs WORKDIR /docs