DCD-1086: We need to fetch & clean the cache to get all the fonts.

This commit is contained in:
Steve Smith 2020-08-24 15:05:23 +10:00
parent 2a44a5f82b
commit 8bed033516

View File

@ -19,8 +19,9 @@ EXPOSE 8091
CMD ["/entrypoint.py"]
ENTRYPOINT ["/sbin/tini", "--"]
RUN apk add --no-cache ca-certificates wget curl openssh bash procps openssl perl tini python3 py3-jinja2 \
ttf-dejavu `apk search -qe 'font-noto*'`
RUN apk update \
&& apk add --no-cache ca-certificates wget curl openssh bash procps openssl perl tini python3 py3-jinja2 ttf-dejavu `apk search -qe 'font-noto*'` \
&& rm -f /var/cache/apk/APKINDEX*
# Workaround for AdoptOpenJDK Alpine fontconfig bug
RUN ln -s /usr/lib/libfontconfig.so.1 /usr/lib/libfontconfig.so \