Include font-noto for glyphs

This commit is contained in:
Jens Kadenbach 2019-09-12 14:55:45 +02:00
parent 3c3456431a
commit c6b26aad5b
2 changed files with 4 additions and 0 deletions

View file

@ -16,6 +16,8 @@ RUN apk update \
&& apk add postgresql-client \ && apk add postgresql-client \
# https://weasyprint.readthedocs.io/en/latest/install.html # 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 \ && 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 && apk add libsass sassc
# Requirements are installed here to ensure they will be cached. # Requirements are installed here to ensure they will be cached.

View file

@ -13,6 +13,8 @@ RUN apk update \
&& apk add libffi-dev py-cffi \ && apk add libffi-dev py-cffi \
# https://weasyprint.readthedocs.io/en/latest/install.html # 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 \ && 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 && apk add libsass sassc
RUN addgroup -S django \ RUN addgroup -S django \