After we migrated container to alpine_java-17 excel export feature fails with the next error:
java.lang.UnsatisfiedLinkError: no fontmanager in system library path: /usr/lib/jvm/java-17-openjdk/lib
In my Dockerfile I installed:
RUN apk add --no-cache fontconfig
RUN apk add --no-cache ttf-dejavu
RUN apk add --no-cache freetype
Here's short version of Dockerfile:
FROM custom_registry/alpine_java-17
ENV JAVA_HOME=/usr/lib/jvm/java-17-openjdk
# procps to have the binary 'pgrep'
RUN apk update
RUN apk add curl
RUN apk add procps
#here's mu solution to fix the issue
RUN apk add --no-cache fontconfig
RUN apk add --no-cache ttf-dejavu
RUN apk add --no-cache freetype
# install bash
RUN apk add --no-cache bash
ENTRYPOINT [ "/app/bin/run.sh" ]
But it didn't help. Maybe someone knows how to fix the issue? Thanks in advance!