libfontmanager.so: libfreetype.so.6 not found error in docker image when trying to generate excel with Apache Poi

 FROM openjdk:11.0.3-jdk-slim-stretch

imageinde libfontmanager.so: libfreetype.so.6 bu lib olmur ona gorede. ,apache poi ile excel generate etmeye chalishanda xeta aliriq

Xetanin ozu: "java.lang.UnsatisfiedLinkError: /usr/local/openjdk-11/lib/libfontmanager.so: libfreetype.so.6: cannot open shared object file: No such file or directory

Hell etmek uchun Dockerfile a bu stepi elave etmek lazimdir


RUN set -eux; \
    apt-get update; \
    apt-get install -y --no-install-recommends fontconfig libfreetype6; \
    rm -rf /var/lib/apt/lists/*

Menbe: https://hub.docker.com/r/hydrz/openjdk/dockerfile

Comments

Popular posts from this blog

Installation instructions for some programs on linux ubuntu

Hibernate and Application Performance

timezone ile bagli Jackson deserializableda problem