From 9e0a6338cc9cc6243b45c02aeafe33257e99b767 Mon Sep 17 00:00:00 2001 From: Michael Peter Christen Date: Sun, 5 Jul 2026 12:58:07 +0200 Subject: removed bloat --- docker/Dockerfile.alpine | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'docker') diff --git a/docker/Dockerfile.alpine b/docker/Dockerfile.alpine index 220ac78d4..5450218db 100644 --- a/docker/Dockerfile.alpine +++ b/docker/Dockerfile.alpine @@ -35,18 +35,10 @@ RUN apk add --no-cache \ fontconfig \ freetype \ ttf-dejavu \ - ttf-droid \ - ttf-freefont \ - ttf-liberation \ - # more fonts - && apk add --no-cache --virtual .build-deps \ - msttcorefonts-installer \ - # Install microsoft fonts - && update-ms-fonts \ - && fc-cache -f \ - # Clean up when done - && rm -rf /tmp/* \ - && apk del .build-deps + # fontconfig, freetype and a single font are required for server-side + # AWT/Graphics2D text rendering (e.g. NetworkGraph.drawPeerLoadPicture); + # the Alpine JRE ships none of these by default. + && fc-cache -f # copy YaCy to app image RUN addgroup yacy && adduser -S -G yacy -H -D yacy -- cgit v1.2.3