From 417d62e8d484a6ce76154de02cef78d8707d4991 Mon Sep 17 00:00:00 2001 From: Alexey Golubev Date: Thu, 12 Oct 2017 18:47:47 +0300 Subject: [PATCH] Fixed bug #76 Bug on launchpad.net: https://bugs.launchpad.net/ubuntu/+source/msttcorefonts/+bug/1465721 --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index d20edbc..a00c1a3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -46,6 +46,7 @@ RUN echo "#!/bin/sh\nexit 0" > /usr/sbin/policy-rc.d && \ ttf-mscorefonts-installer \ xvfb \ zlib1g && \ + [ $(ls -l /usr/share/fonts/truetype/msttcorefonts | wc -l) -eq 61 ] && \ sudo -u postgres psql -c "CREATE DATABASE onlyoffice;" && \ sudo -u postgres psql -c "CREATE USER onlyoffice WITH password 'onlyoffice';" && \ sudo -u postgres psql -c "GRANT ALL privileges ON DATABASE onlyoffice TO onlyoffice;" && \