首页
随机
最近更改
特殊页面
社群首页
参数设置
关于WHY42
免责声明
WHY42
搜索
用户菜单
登录
欢迎来到Riguz的小站!这是一个私人wiki,用来记录一些我的笔记。
查看“︁Build onlyoffice”︁的源代码
←
Build onlyoffice
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
Only office requires old version of qt <ref>https://github.com/ONLYOFFICE/build_tools/issues/807</ref> <syntaxhighlight lang="bash"> git clone https://github.com/ONLYOFFICE/build_tools cd build_tools cat version 8.1.0 </syntaxhighlight> Modifty the dockerfile: <syntaxhighlight lang="Dockerfile"> FROM ubuntu:16.04 ENV TZ=Etc/UTC RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone RUN sed -i 's/archive.ubuntu.com/mirrors.ustc.edu.cn/g' /etc/apt/sources.list && \ sed -i 's/security.ubuntu.com/mirrors.ustc.edu.cn/g' /etc/apt/sources.list && \ apt-get -y update && \ apt-get -y install software-properties-common && \ add-apt-repository ppa:openjdk-r/ppa && \ apt-get -y update && \ DEBIAN_FRONTEND=noninteractive apt-get -y install python \ python3 \ sudo \ openjdk-11-jdk \ openjdk-11-jdk-headless \ openjdk-11-jre \ openjdk-11-jre-headless \ git \ build-essential \ openssh-client RUN rm /usr/bin/python && ln -s /usr/bin/python2 /usr/bin/python ADD . /build_tools WORKDIR /build_tools CMD ["bash"] </syntaxhighlight> <syntaxhighlight lang="bash"> docker build --tag onlyoffice-document-editors-builder . docker run -it -v $PWD/out:/build_tools/out onlyoffice-document-editors-builder cd tools/linux python3 automate.py </syntaxhighlight>
返回
Build onlyoffice
。