optimierung für schriften?
This commit is contained in:
18
Dockerfile
18
Dockerfile
@@ -1,8 +1,16 @@
|
|||||||
FROM squidfunk/mkdocs-material:latest
|
FROM squidfunk/mkdocs-material:latest
|
||||||
|
|
||||||
# Alpine-Pakete für WeasyPrint
|
# Laufzeit-Pakete (inkl. weasyprint) + temporäre Build-Dependencies zum Kompilieren (z.B. libsass)
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
weasyprint
|
weasyprint \
|
||||||
|
cairo \
|
||||||
# Plugin installieren
|
pango \
|
||||||
RUN apk add --no-cache --virtual .build-deps build-base python3-dev libffi-dev && pip install --no-cache-dir mkdocs-to-pdf && apk del .build-deps
|
gdk-pixbuf \
|
||||||
|
libjpeg-turbo \
|
||||||
|
zlib \
|
||||||
|
fontconfig \
|
||||||
|
ttf-dejavu \
|
||||||
|
&& apk add --no-cache --virtual .build-deps \
|
||||||
|
build-base python3-dev libffi-dev cairo-dev pango-dev gdk-pixbuf-dev libjpeg-turbo-dev zlib-dev pkgconfig \
|
||||||
|
&& pip install --no-cache-dir mkdocs-to-pdf \
|
||||||
|
&& apk del .build-deps
|
||||||
Reference in New Issue
Block a user