From 90948fed1b02889315daebb3628266f1770f2fab Mon Sep 17 00:00:00 2001 From: Orestis <orestis.malaspinas@pm.me> Date: Wed, 22 Nov 2023 09:05:51 +0100 Subject: [PATCH] added fonts --- pandoc/Dockerfile | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/pandoc/Dockerfile b/pandoc/Dockerfile index 5430c47..b7fb4c7 100644 --- a/pandoc/Dockerfile +++ b/pandoc/Dockerfile @@ -5,33 +5,26 @@ RUN apk update && apk upgrade # Install additional TeX packages such as those used by eisvogel template # RUN tlmgr option repository http://mirror.ctan.org/systems/texlive/tlnet # RUN wget https://mirror.ctan.org/systems/texlive/tlnet/update-tlmgr-latest.sh && chmod +x update-tlmgr-latest.sh -# RUN ./update-tlmgr-latest.sh -- --upgrade +# RUN ./update-tlmgr-latest.sh -- --upgrade -RUN tlmgr update --self --all +RUN tlmgr update --self --all RUN tlmgr install csquotes mdframed needspace sourcesanspro ly1 mweights \ sourcecodepro titling pagecolor epstopdf zref footnotebackref beamertheme-metropolis \ subfig float tocloft doublestroke \ pgfopts sectsty enumitem glossaries wrapfig mfirstuc \ textcase xfor tracklang datatool tocbibind titlesec \ background textpos svg everypage trimspaces \ - catchfile koma-script transparent \ - && apk add --update ghostscript + catchfile koma-script transparent && apk add --update ghostscript # Install Node and mermaid-filter ENV CHROME_BIN="/usr/bin/chromium-browser" \ PUPPETEER_SKIP_CHROMIUM_DOWNLOAD="true" -RUN apk add --no-cache --update udev ttf-freefont chromium npm make openssh-client rsync gcompat \ - && npm install -g mermaid-filter@1.4.6 --unsafe-perm=true +RUN apk add --no-cache --update udev ttf-freefont ttf-dejavu chromium npm make openssh-client rsync gcompat && npm install -g mermaid-filter@1.4.6 --unsafe-perm=true -RUN apk add --no-cache --update python3 py3-pip py3-numpy py3-matplotlib \ - && python3 -m pip install pip --upgrade \ - && python3 -m pip install wheel && python3 -m pip install pandoc-numbering +RUN apk add --no-cache --update python3 py3-pip py3-numpy py3-matplotlib && python3 -m pip install pip --upgrade && python3 -m pip install wheel && python3 -m pip install pandoc-numbering -RUN wget https://github.com/LaurentRDC/pandoc-plot/releases/download/1.6.1/pandoc-plot-Linux-x86_64-static.zip \ - && unzip pandoc-plot-Linux-x86_64-static.zip -d /usr/local/bin \ - && chmod +x /usr/local/bin/pandoc-plot \ - && rm pandoc-plot-Linux-x86_64-static.zip +RUN wget https://github.com/LaurentRDC/pandoc-plot/releases/download/1.6.1/pandoc-plot-Linux-x86_64-static.zip && unzip pandoc-plot-Linux-x86_64-static.zip -d /usr/local/bin && chmod +x /usr/local/bin/pandoc-plot && rm pandoc-plot-Linux-x86_64-static.zip ENTRYPOINT /bin/sh -- GitLab