Skip to content

Commit

Permalink
fix(#57): add required java libs for font things.
Browse files Browse the repository at this point in the history
  • Loading branch information
ToxicMushroom committed Sep 14, 2023
1 parent c8d421c commit 3895b0a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Bot.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Full jdk required for font rendering on ship ect
FROM bellsoft/liberica-runtime-container:jdk-17-glibc
RUN apk add --no-cache libxrender libxi libxtst alsa-lib libx11 fontconfig libxext freetype zlib ttf-dejavu
RUN ln -s /usr/lib/libfontconfig.so.1 /usr/lib/libfontconfig.so && \
ln -s /lib/libuuid.so.1 /usr/lib/libuuid.so.1 && \
ln -s /lib/libc.musl-x86_64.so.1 /usr/lib/libc.musl-x86_64.so.1
ENV LD_LIBRARY_PATH /usr/lib
WORKDIR /opt/melijn
COPY ./bot/build/libs/melijn.jar ./melijn.jar
ENTRYPOINT java \
Expand Down

0 comments on commit 3895b0a

Please sign in to comment.