From d5fc7bd4d5f6e7e19b4994ee488fb91414b81b4e Mon Sep 17 00:00:00 2001 From: Badanin Maksim Date: Tue, 26 Mar 2024 19:38:35 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8=D0=BB=20?= =?UTF-8?q?=D0=B4=D0=BE=D0=BC=D0=B0=D1=88=D0=BD=D1=8E=D1=8E=20=D0=B4=D0=B8?= =?UTF-8?q?=D1=80=D0=B5=D0=BA=D1=82=D0=BE=D1=80=D0=B8=D1=8E,=20=D1=80?= =?UTF-8?q?=D0=B0=D1=81=D1=81=D0=BE=D1=80=D1=82=D0=B8=D1=80=D0=BE=D0=B2?= =?UTF-8?q?=D0=B0=D0=BB=20=D1=84=D0=B0=D0=B9=D0=BB=D1=8B=20=D0=B8=20=D0=BF?= =?UTF-8?q?=D0=BE=D0=B4=D0=BF=D1=80=D0=B0=D0=B2=D0=B8=D0=BB=20=D0=BE=D0=BF?= =?UTF-8?q?=D0=B8=D1=81=D0=B0=D0=BD=D0=B8=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 7 +++---- README.md | 4 ++++ {files => build_files}/DocumentServer-7.5.1.zip | Bin {files => build_files}/build_tools-7.5.1.1.zip | Bin {files => build_files}/server-7.5.1.1.zip | Bin license.py => config/license.py | 0 license.sh => config/license.sh | 0 server.patch => config/server.patch | 0 8 files changed, 7 insertions(+), 4 deletions(-) rename {files => build_files}/DocumentServer-7.5.1.zip (100%) rename {files => build_files}/build_tools-7.5.1.1.zip (100%) rename {files => build_files}/server-7.5.1.1.zip (100%) rename license.py => config/license.py (100%) rename license.sh => config/license.sh (100%) rename server.patch => config/server.patch (100%) diff --git a/Dockerfile b/Dockerfile index 9cfcb15..6dd5416 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,7 +30,7 @@ RUN git clone --quiet --branch $tag --depth 1 https://github.com/ONLYOFFICE/serv ## Build FROM clone-stage as build-stage -COPY server.patch /build/server.patch +COPY config/server.patch /build/server.patch RUN cd /build/server && \ git apply --ignore-space-change --ignore-whitespace /build/server.patch @@ -54,6 +54,5 @@ RUN apt-get update && \ apt-get install -y python3-dev python3-pip && \ pip install PyCryptodome -WORKDIR /license -COPY license.py /license/license.py -COPY license.sh /license/license.sh +COPY config/license.py /license/license.py +COPY config/license.sh /license/license.sh diff --git a/README.md b/README.md index 649b777..0c69861 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,10 @@ [https://github.com/anyidea/onlyoffice-ce-docker-license](https://github.com/anyidea/onlyoffice-ce-docker-license) +#### Запуск: + ``` +git clone https://git.badms.ru/bms/oo-unlim.git +cd oo-unlim docker build -t onlyoffice/documentserver-unlim:7.5.1.1 . ``` diff --git a/files/DocumentServer-7.5.1.zip b/build_files/DocumentServer-7.5.1.zip similarity index 100% rename from files/DocumentServer-7.5.1.zip rename to build_files/DocumentServer-7.5.1.zip diff --git a/files/build_tools-7.5.1.1.zip b/build_files/build_tools-7.5.1.1.zip similarity index 100% rename from files/build_tools-7.5.1.1.zip rename to build_files/build_tools-7.5.1.1.zip diff --git a/files/server-7.5.1.1.zip b/build_files/server-7.5.1.1.zip similarity index 100% rename from files/server-7.5.1.1.zip rename to build_files/server-7.5.1.1.zip diff --git a/license.py b/config/license.py similarity index 100% rename from license.py rename to config/license.py diff --git a/license.sh b/config/license.sh similarity index 100% rename from license.sh rename to config/license.sh diff --git a/server.patch b/config/server.patch similarity index 100% rename from server.patch rename to config/server.patch