build linux_arm64

This commit is contained in:
hibobmaster 2023-09-28 21:06:38 +08:00
parent 04399adbee
commit 8924a8c397
Signed by: bobmaster
SSH key fingerprint: SHA256:5ZYgd8fg+PcNZNy4SzcSKu5JtqZyBF8kUhY7/k2viDk

View file

@ -1,4 +1,5 @@
ARG product_version=7.4.0 # build linux_arm64
ARG product_version=7.4.1
ARG build_number=1 ARG build_number=1
ARG oo_root='/var/www/onlyoffice/documentserver' ARG oo_root='/var/www/onlyoffice/documentserver'
@ -57,8 +58,8 @@ FROM path-stage as build-stage
# build server with license checks patched # build server with license checks patched
WORKDIR /build/server WORKDIR /build/server
RUN make RUN make
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_arm64/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 RUN pkg /build/build_tools/out/linux_arm64/onlyoffice/documentserver/server/DocService --targets=node14-linux --options max_old_space_size=4096 -o /build/docservice
# build web-apps with mobile editing # build web-apps with mobile editing
WORKDIR /build/web-apps/build WORKDIR /build/web-apps/build