Skip to content
This repository has been archived by the owner on Jul 20, 2020. It is now read-only.

Commit

Permalink
VTKU-28 : Add missing font library
Browse files Browse the repository at this point in the history
This should fix the error with e.g. Apache POI
that we use for handling excel sheets.

AdoptOpenJDK/openjdk-docker#75
  • Loading branch information
timorantalaiho committed Mar 18, 2019
1 parent 3bc1e3d commit 27511c5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM adoptopenjdk/openjdk11:alpine-slim

ENV LD_LIBRARY_PATH /usr/lib

COPY files/dump_threads.sh /root/bin/
COPY files/run.sh /tmp/scripts/run

Expand Down
6 changes: 6 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,16 @@ apk --no-cache add \
py-jinja2 \
py-pip \
py2-yaml \
ttf-dejavu \
unzip \
wget \
zip

echo "Kludging font libraries in place"
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

echo "Installing tools for downloading environment configuration during service run script"
pip install --upgrade pip
pip install \
Expand Down

0 comments on commit 27511c5

Please sign in to comment.