Build x86_64 image

This commit is contained in:
hibobmaster 2023-09-28 23:54:00 +08:00
parent 808ccddb39
commit 3965e096a9
Signed by: bobmaster
SSH key fingerprint: SHA256:5ZYgd8fg+PcNZNy4SzcSKu5JtqZyBF8kUhY7/k2viDk
2 changed files with 4 additions and 5 deletions

View file

@ -1,4 +1,3 @@
# build linux_arm64
ARG product_version=7.4.1
ARG build_number=1
ARG oo_root='/var/www/onlyoffice/documentserver'
@ -14,7 +13,7 @@ ENV BUILD_NUMBER=${build_number}
ARG build_deps="git make g++ nodejs npm"
RUN apt-get update && apt-get install -y ${build_deps}
#RUN npm config set registry https://registry.npm.taobao.org
# RUN npm config set registry https://registry.npm.taobao.org
RUN npm install -g pkg grunt grunt-cli
WORKDIR /build
@ -58,8 +57,8 @@ FROM path-stage as build-stage
# build server with license checks patched
WORKDIR /build/server
RUN make
RUN pkg /build/build_tools/out/linux_/onlyoffice/documentserver/server/FileConverter --targets=node14-linux -o /build/converter
RUN pkg /build/build_tools/out/linux_/onlyoffice/documentserver/server/DocService --targets=node14-linux --options max_old_space_size=4096 -o /build/docservice
RUN pkg /build/build_tools/out/linux_64/onlyoffice/documentserver/server/FileConverter --targets=node14-linux -o /build/converter
RUN pkg /build/build_tools/out/linux_64/onlyoffice/documentserver/server/DocService --targets=node14-linux --options max_old_space_size=4096 -o /build/docservice
# build web-apps with mobile editing
WORKDIR /build/web-apps/build

@ -1 +1 @@
Subproject commit 6c31615fe96cf1d379604dee365534e0b8ad8a96
Subproject commit 19ad64ae430e08945fd7007fc790be86a67f444d