From 8241b15a4fb6dfc4b9002d0db673b59683fdcb5d Mon Sep 17 00:00:00 2001 From: David Young Date: Fri, 8 Jul 2022 22:44:27 +1200 Subject: [PATCH] Work on PDF generation Signed-off-by: David Young --- Dockerfile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 126799e..3df7dab 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,10 @@ RUN pip install \ mkdocs-macros-plugin \ mkdocs-git-committers-plugin-2 \ mkdocs-meta-descriptions-plugin \ - mkdocs-with-pdf + mkdocs-with-pdf \ + mkdocs-extra-sass-plugin \ + qrcode \ + livereload # Theoretically this could add support for headless chrome RUN apk add --no-cache \ @@ -21,4 +24,10 @@ RUN apk add --no-cache \ ca-certificates \ ttf-freefont \ nodejs \ - yarn + yarn ttf-ubuntu-font-family + + # Additional font +# COPY fonts /usr/share/fonts/Additional + RUN apk --update --upgrade --no-cache add fontconfig ttf-freefont font-noto terminus-font \ + && fc-cache -f \ + && fc-list | sort