From f6768e19d8f0cd10e3e293b93cb30942550f5e9e Mon Sep 17 00:00:00 2001 From: James Polley Date: Tue, 26 Dec 2017 23:57:25 +1100 Subject: [PATCH] Make our fonts available to the system To make them more useable by cairo --- docker/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index f91796c6..9e3bc413 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -16,7 +16,6 @@ RUN set -ex \ libmemcached-dev \ libsasl2-dev \ ' \ - && apt-get install -y git xmlsec1 libmysqlclient18 \ && apt-get install -y $buildDeps --no-install-recommends \ && rm -rf /var/lib/apt/lists/* @@ -40,6 +39,10 @@ RUN set -x \ && DJANGO_SECRET_KEY=1234 STRIPE_PUBLIC_KEY=1234 STRIPE_SECRET_KEY=1234 \ DATABASE_URL="sqlite:////dev/null" \ python manage.py collectstatic --noinput -l -v 0 +RUN set -ex \ + && cp static/build/fonts/*.ttf /usr/local/share/fonts/ \ + && fc-cache \ + && fc-list FROM symposion_base as symposion_dev VOLUME /app/symposion_app