v5.1.0
This commit is contained in:
commit
974fce146f
@ -10,15 +10,9 @@ RUN echo "#!/bin/sh\nexit 0" > /usr/sbin/policy-rc.d && \
|
|||||||
locale-gen en_US.UTF-8 && \
|
locale-gen en_US.UTF-8 && \
|
||||||
curl -sL https://deb.nodesource.com/setup_6.x | bash - && \
|
curl -sL https://deb.nodesource.com/setup_6.x | bash - && \
|
||||||
apt-get -y update && \
|
apt-get -y update && \
|
||||||
echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections && \
|
|
||||||
apt-get -yq install \
|
apt-get -yq install \
|
||||||
adduser \
|
adduser \
|
||||||
bomstrip \
|
bomstrip \
|
||||||
fonts-crosextra-carlito \
|
|
||||||
fonts-dejavu \
|
|
||||||
fonts-liberation \
|
|
||||||
fonts-opensymbol \
|
|
||||||
fonts-takao-gothic \
|
|
||||||
htop \
|
htop \
|
||||||
libasound2 \
|
libasound2 \
|
||||||
libboost-regex-dev \
|
libboost-regex-dev \
|
||||||
@ -46,11 +40,8 @@ RUN echo "#!/bin/sh\nexit 0" > /usr/sbin/policy-rc.d && \
|
|||||||
software-properties-common \
|
software-properties-common \
|
||||||
sudo \
|
sudo \
|
||||||
supervisor \
|
supervisor \
|
||||||
ttf-mscorefonts-installer \
|
|
||||||
xvfb \
|
xvfb \
|
||||||
zlib1g && \
|
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 DATABASE onlyoffice;" && \
|
||||||
sudo -u postgres psql -c "CREATE USER onlyoffice WITH password '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;" && \
|
sudo -u postgres psql -c "GRANT ALL privileges ON DATABASE onlyoffice TO onlyoffice;" && \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user