From c6b26aad5bf8be0cc8279804b8367dde331b6f9c Mon Sep 17 00:00:00 2001 From: Jens Kadenbach Date: Thu, 12 Sep 2019 14:55:45 +0200 Subject: [PATCH] Include font-noto for glyphs --- compose/local/django/Dockerfile | 2 ++ compose/production/django/Dockerfile | 2 ++ 2 files changed, 4 insertions(+) diff --git a/compose/local/django/Dockerfile b/compose/local/django/Dockerfile index 9c1874c..433e4f2 100644 --- a/compose/local/django/Dockerfile +++ b/compose/local/django/Dockerfile @@ -16,6 +16,8 @@ RUN apk update \ && apk add postgresql-client \ # https://weasyprint.readthedocs.io/en/latest/install.html && apk add gcc musl-dev jpeg-dev zlib-dev libffi-dev cairo-dev pango-dev gdk-pixbuf-dev \ + # fallback font for Weasy + && apk add ttf-ubuntu-font-family font-noto \ && apk add libsass sassc # Requirements are installed here to ensure they will be cached. diff --git a/compose/production/django/Dockerfile b/compose/production/django/Dockerfile index c5a1728..6e8225f 100644 --- a/compose/production/django/Dockerfile +++ b/compose/production/django/Dockerfile @@ -13,6 +13,8 @@ RUN apk update \ && apk add libffi-dev py-cffi \ # https://weasyprint.readthedocs.io/en/latest/install.html && apk add gcc musl-dev jpeg-dev zlib-dev libffi-dev cairo-dev pango-dev gdk-pixbuf-dev \ + # fallback font for Weasy + && apk add ttf-ubuntu-font-family font-noto \ && apk add libsass sassc RUN addgroup -S django \