pre-warm matplotlib font cache
This commit is contained in:
parent
47c71f04c2
commit
c957268ecc
@ -7,3 +7,7 @@ RUN apt-get update && \
|
|||||||
python3-pygments python3-geopandas \
|
python3-pygments python3-geopandas \
|
||||||
latexmk make \
|
latexmk make \
|
||||||
docker.io
|
docker.io
|
||||||
|
|
||||||
|
COPY layer2img.py /tmp/layer2img.py
|
||||||
|
RUN python3 /tmp/layer2img.py -o /tmp/foo.pdf
|
||||||
|
RUN rm /tmp/layer2img.py
|
||||||
|
@ -12,7 +12,7 @@ set -euo pipefail
|
|||||||
|
|
||||||
NAME=wm-mj-build
|
NAME=wm-mj-build
|
||||||
if [[ -z "$(docker images -q --filter "reference=$NAME")" ]]; then
|
if [[ -z "$(docker images -q --filter "reference=$NAME")" ]]; then
|
||||||
docker build -t "$NAME" - < Dockerfile
|
docker build -t "$NAME" .
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exec docker run -ti --rm \
|
exec docker run -ti --rm \
|
||||||
|
Loading…
Reference in New Issue
Block a user