pre-warm matplotlib font cache

main
Motiejus Jakštys 2021-05-19 22:57:50 +03:00 committed by Motiejus Jakštys
parent 47c71f04c2
commit c957268ecc
2 changed files with 5 additions and 1 deletions

View File

@ -7,3 +7,7 @@ RUN apt-get update && \
python3-pygments python3-geopandas \
latexmk make \
docker.io
COPY layer2img.py /tmp/layer2img.py
RUN python3 /tmp/layer2img.py -o /tmp/foo.pdf
RUN rm /tmp/layer2img.py

View File

@ -12,7 +12,7 @@ set -euo pipefail
NAME=wm-mj-build
if [[ -z "$(docker images -q --filter "reference=$NAME")" ]]; then
docker build -t "$NAME" - < Dockerfile
docker build -t "$NAME" .
fi
exec docker run -ti --rm \