summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docker/Dockerfile.alpine16
1 files changed, 4 insertions, 12 deletions
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