File tree Expand file tree Collapse file tree 3 files changed +14
-5
lines changed Expand file tree Collapse file tree 3 files changed +14
-5
lines changed Original file line number Diff line number Diff line change 11version : " 3"
22services :
33 wechat_devtools :
4- image : jiyecafe/wechat-devtools-build:latest
4+ image : jiyecafe/wechat-devtools-build:v3
55 # build:
66 # context: ./docker
77 # dockerfile: Dockerfile
Original file line number Diff line number Diff line change 1- FROM debian:9.13-slim
1+ FROM ubuntu:16.04
22
33WORKDIR /workspace
44
@@ -30,3 +30,12 @@ RUN sed -i 's/deb.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list && \
3030 apt install -y gosu && \
3131 gosu nobody true && \
3232 useradd -s /bin/bash -m user
33+
34+ RUN apt remove -y p7zip p7zip-full p7zip-rar &&\
35+ rm -rf /opt/7z && \
36+ mkdir -p /opt/7z && \
37+ cd /opt/7z && \
38+ wget https://www.7-zip.org/a/7z2107-linux-x64.tar.xz && \
39+ tar -xJf 7z2107-linux-x64.tar.xz && \
40+ ln -s 7zz 7z
41+ ENV PATH=/opt/7z:$PATH
Original file line number Diff line number Diff line change 3333
3434# 进度
3535
36- 当前工具可以在Linux上构筑最新版1.05.2203070,支持CLI模式,现已经有Docker支持(仅用于测试) 。
36+ 当前工具可以在Linux上构筑最新版1.05.2203070,支持CLI模式。
3737另现在已经可以直接在设置界面里面修改字体,手工输入字体名称就可以。
3838
3939# 功能测试记录
5656# 系统要求
5757
5858* 基于Linux的桌面系统,首选GNOME(其他的桌面环境可能会有问题,未测试)
59- * 非兼容版对glibc和libstdc ++有一定的版本要求,glibc的版本要求2.24 ,libstdc++的版本要求3.4.22,发布包里已经预编译了的Linux原生Node模块有这个依赖。兼容版本对这两个系统库的要求则较低,如果发现非兼容版本运行有问题可以考虑尝试切换到兼容版本
59+ * CI自动构建的包对glibc和libstdc ++有一定的版本要求,glibc的版本要求2.23 ,libstdc++的版本要求3.4.21
6060* 如果你下载的是` wine ` 版本,那么你需要安装有` wine ` ` wine-binfmt ` 支持,建议版本在5.0以上,低版本可能会存在有问题
6161
6262# CLI支持
@@ -94,7 +94,7 @@ docker-compose up
9494由于使用到` node-gyp ` ` nw-gyp ` ,此方法会受` python ` 、` node ` 版本影响出现一些难以预料的异常(比如使用` node15.0.1 ` 时,大部分模块构建会被忽略,但没有任何报错信息)。但是,` Docker ` 构建方式会帮你处理好这些问题。
9595
96961 . 如果构建` wine ` 版本,请先在Linux环境中自行安装` wine ` ` wine-binfmt ` ;
97- 2 . 安装编译` nodegit ` 所需的依赖:` python2.7 python3.6及以上 libkrb5-dev gcc openssl libssh2-1-dev g++ make pkg-config `
97+ 2 . 安装编译` nodegit ` 所需的依赖:` python2.7 python3.6及以上 libkrb5-dev gcc openssl libssh2-1-dev g++ make pkg-config ` ` 7z ` 旧版解压可能存在问题(未测试最低版本号,比如:ubuntu16.04自带的不行),请参考 ` Dockerfile `
98983 . 克隆本项目:
9999```
100100git clone https://github.com/msojocs/wechat-devtools-linux.git
You can’t perform that action at this time.
0 commit comments