From efc55da020781b136de62c8c842231d3af50318a Mon Sep 17 00:00:00 2001 From: Alexey Bannov Date: Sat, 18 Apr 2015 16:13:42 +0000 Subject: [PATCH] bug fix --- Dockerfile | 9 +++++++-- LICENSE.txt | 18 ++++++++++++++++++ 2 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 LICENSE.txt diff --git a/Dockerfile b/Dockerfile index d6c59d8..d3bc258 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 && \ 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 && \ + echo "deb http://archive.ubuntu.com/ubuntu precise main universe multiverse" >> /etc/apt/sources.list && \ DEBIAN_FRONTEND=noninteractive && \ locale-gen en_US.UTF-8 && \ - apt-get update && \ - apt-get install --force-yes -yq onlyoffice-documentserver && \ + apt-get -y update && \ + 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/* ADD config /app/onlyoffice/setup/config/ diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..4542f08 --- /dev/null +++ b/LICENSE.txt @@ -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.