Remove font dependency

This commit is contained in:
Alexey Golubev 2018-03-02 18:00:21 +03:00
parent b2d8ce41f4
commit 56c0805754

@ -14,11 +14,6 @@ RUN echo "#!/bin/sh\nexit 0" > /usr/sbin/policy-rc.d && \
apt-get -yq install \
adduser \
bomstrip \
fonts-crosextra-carlito \
fonts-dejavu \
fonts-liberation \
fonts-opensymbol \
fonts-takao-gothic \
htop \
libasound2 \
libboost-regex-dev \
@ -46,11 +41,8 @@ RUN echo "#!/bin/sh\nexit 0" > /usr/sbin/policy-rc.d && \
software-properties-common \
sudo \
supervisor \
ttf-mscorefonts-installer \
xvfb \
zlib1g && \
if [ $(ls -l /usr/share/fonts/truetype/msttcorefonts | wc -l) -ne 61 ]; \
then echo 'msttcorefonts failed to download'; exit 1; fi && \
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;" && \