Update Dockerfile
This commit is contained in:
parent
394b25de5c
commit
87968b5124
1 changed files with 2 additions and 4 deletions
|
@ -17,8 +17,6 @@ RUN npm install -g pkg grunt grunt-cli
|
||||||
|
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Clone
|
## Clone
|
||||||
FROM setup-stage as clone-stage
|
FROM setup-stage as clone-stage
|
||||||
ARG tag=v${PRODUCT_VERSION}.${BUILD_NUMBER}
|
ARG tag=v${PRODUCT_VERSION}.${BUILD_NUMBER}
|
||||||
|
@ -31,7 +29,7 @@ RUN git clone --quiet --depth 1 https://github.com/ONLYOFFICE/sdkjs.git /b
|
||||||
RUN git clone --quiet --depth 1 https://github.com/ONLYOFFICE/web-apps.git /build/web-apps
|
RUN git clone --quiet --depth 1 https://github.com/ONLYOFFICE/web-apps.git /build/web-apps
|
||||||
|
|
||||||
## Build
|
## Build
|
||||||
FROM clone-stage as build-stage
|
FROM clone-stage as patch-stage
|
||||||
|
|
||||||
# patch
|
# patch
|
||||||
COPY server.patch /build/server.patch
|
COPY server.patch /build/server.patch
|
||||||
|
@ -41,7 +39,7 @@ RUN sudo sed -i s/false/true/g /build/web-apps/apps/documenteditor/mobile/src/li
|
||||||
|
|
||||||
|
|
||||||
## Build
|
## Build
|
||||||
FROM clone-stage as build-stage
|
FROM patch-stage as build-stage
|
||||||
|
|
||||||
# build server with license checks patched
|
# build server with license checks patched
|
||||||
WORKDIR /build/server
|
WORKDIR /build/server
|
||||||
|
|
Loading…
Reference in a new issue