metanorma / metanorma-docker

Docker container for running the Metanorma toolchain
https://www.metanorma.com
5 stars 3 forks source link

Install fontconfig ttf-dejavu explicitly #175

Closed CAMOBAP closed 1 year ago

CAMOBAP commented 1 year ago

Intro

During https://github.com/metanorma/packed-mn/pull/201 was observed Exception:

Exception in thread "main" java.lang.UnsatisfiedLinkError: no fontmanager in java.library.path: [/usr/lib/jvm/java-10-openjdk/lib/server, /usr/lib/jvm/java-10-openjdk/lib, /usr/lib/jvm/java-10-openjdk/../lib, /usr/java/packages/lib, /usr/lib64, /lib64, /lib, /usr/lib]

The fix is to install fontconfig and ttf-dejavu packages

This doesn't happen on our alpine docker image probably because those deps installed implicitly.

But it seems that it make sense to install them explicitly in case if base image will be changed