diff --git a/pandoc/Dockerfile b/pandoc/Dockerfile index 5430c47ab6f922ccc26c7b64fc0516353834b70c..b7fb4c71d2e68b8fcf894e117cd7e2fe8c0d0de9 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