From 9c14cb77fde68b7eb77b580bf3f334daa5ca4a31 Mon Sep 17 00:00:00 2001 From: Chris Fenner Date: Sat, 9 Dec 2023 10:15:00 -0800 Subject: [PATCH] use source sans pro again (#43) Add step to dockerfile that installs source code pro --- Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Dockerfile b/Dockerfile index 5ddaca0..02886dc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -64,6 +64,12 @@ RUN apk --no-cache add msttcorefonts-installer fontconfig && \ RUN wget https://github.com/kaienfr/Font/raw/master/font/ARIALUNI.TTF -P /usr/share/fonts/TTF/ && \ fc-cache -f +# Install Source Code Pro +RUN wget https://github.com/adobe-fonts/source-code-pro/archive/refs/tags/2.042R-u/1.062R-i/1.026R-vf.zip && \ + unzip 1.026R-vf.zip && \ + cp source-code-pro-2.042R-u-1.062R-i-1.026R-vf/TTF/*.ttf /usr/share/fonts/TTF/ && \ + fc-cache -f + RUN pip install pandocfilters ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true \