This commit is contained in:
Alexey Bannov 2015-04-18 16:13:42 +00:00
parent 395ce84911
commit efc55da020
2 changed files with 25 additions and 2 deletions

View file

@ -12,10 +12,15 @@ RUN echo "#!/bin/sh\nexit 0" > /usr/sbin/policy-rc.d && \
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys D9D0BF019CC8AC0D && \ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys D9D0BF019CC8AC0D && \
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list && \ echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list && \
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF && \ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF && \
echo "deb http://archive.ubuntu.com/ubuntu precise main universe multiverse" >> /etc/apt/sources.list && \
DEBIAN_FRONTEND=noninteractive && \ DEBIAN_FRONTEND=noninteractive && \
locale-gen en_US.UTF-8 && \ locale-gen en_US.UTF-8 && \
apt-get update && \ apt-get -y update && \
apt-get install --force-yes -yq onlyoffice-documentserver && \ echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections && \
apt-get install --force-yes -yq software-properties-common && \
add-apt-repository ppa:ubuntu-toolchain-r/test && \
apt-get -y update && \
apt-get --force-yes -yq install gcc-4.9 onlyoffice-documentserver && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
ADD config /app/onlyoffice/setup/config/ ADD config /app/onlyoffice/setup/config/

18
LICENSE.txt Normal file
View file

@ -0,0 +1,18 @@
ONLYOFFICE NON-COMMERCIAL LICENSE AGREEMENT
IMPORTANT - READ CAREFULLY: BY CLICKING THE “I ACCEPT” BUTTON OR INSTALLING, DOWNLOADING OR OTHERWISE USING ONLYOFFICE AND ANY RELATED DOCUMENTATION, YOU, ON BEHALF OF YOURSELF OR AS AN AUTHORIZED REPRESENTATIVE ON BEHALF OF AN ENTITY (“LICENSEE”) AGREE TO ALL THE TERMS OF THIS ONLYOFFICE NON-COMMERCIAL LICENSE AGREEMENT (THE “AGREEMENT”) REGARDING YOUR USE OF ONLYOFFICE. YOU REPRESENT AND WARRANT THAT YOU HAVE FULL LEGAL AUTHORITY TO BIND THE LICENSEE TO THIS AGREEMENT. IF YOU DO NOT AGREE WITH ALL OF THESE TERMS, DO NOT PRESS THE “I ACCEPT” BUTTON AND DO NOT INSTALL, DOWNLOAD OR OTHERWISE USE ONLYOFFICE. THE EFFECTIVE DATE OF THIS AGREEMENT IS THE DATE ON WHICH YOU CLICK “I ACCEPT” OR OTHERWISE INSTALL, DOWNLOAD OR USE ONLYOFFICE.
1. License Grant. As used in this Agreement, ONLYOFFICE means the object code, the compiled object code of the office server software provided by Ascensio System SIA as well as any related documentation. Ascensio System SIA hereby grants Licensee, free of charge, the non-exclusive right to use, copy, merge, publish, distribute, sublicense, and/or sell copies of ONLYOFFICE and to permit persons to whom ONLYOFFICE is furnished to do so, subject to Licensee including the following copyright notice in all copies or substantial portions of ONLYOFFICE:
Ascensio System SIA
http://www.onlyoffice.com
© Ascensio System SIA, [year]
2. Restrictions. Licensee cannot modify the source code, binary codes, object codes and/or resource files comprising ONLYOFFICE in any way including alteration, removing or obscuring copyright, patent, trademark, and attribution notices contained therein.
Licensee is not permitted to use trade names, trademarks, service marks, or product names of Ascensio System SIA, except as required for reasonable and customary use of ONLYOFFICE.
3. Warranty Disclaimer and Limitation of Liability. ONLYOFFICE IS PROVIDED “AS IS,” WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL ASCENSIO SYSTEM SIA OR THE AUTHORS OR COPYRIGHT HOLDERS IN ONLYOFFICE BE LIABLE FOR ANY CLAIM, DAMAGES (INCLUDING, WITHOUT LIMITATION, DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES) OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH ONLYOFFICE OR THE USE OR OTHER DEALINGS IN ONLYOFFICE.