Skip to content

Commit 91c55ae

Browse files
committed
Updating:
- Font fix 4?
1 parent e8c000b commit 91c55ae

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

OpenJDK/24/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ RUN apk add --no-cache \
3636
update-ms-fonts && \
3737
fc-cache -f
3838

39+
# Fix JAVA: java.lang.RuntimeException: java.awt.FontFormatException: bad pfa font
40+
RUN find /usr/share/fonts -type f \
41+
\( -iname "*.pfa" -o -iname "*.pfb" -o -iname "*.pcf" -o -iname "*.otb" \) -delete && \
42+
fc-cache -f
3943

4044
RUN useradd -m -d /home/container container
4145

0 commit comments

Comments
 (0)