chore: 增强构建环境功能,添加git安装
All checks were successful
Build Server / Compile DLL (push) Successful in 4m38s

- 添加git安装以增强构建环境功能。
This commit is contained in:
2025-07-08 00:54:52 +08:00
parent f0eda5ed50
commit eaa8ae41d5

View File

@@ -1,6 +1,6 @@
FROM archlinux:base-devel AS lib
WORKDIR /src
RUN pacman -Syu --noconfirm cmake python nodejs && \
RUN pacman -Syu --noconfirm git cmake python nodejs && \
git clone https://github.com/swigger/wechat-ocr.git wcocr && \
sed -i 's/v3.21.0/v3.21.2/g' wcocr/CMakeLists.txt && \
mkdir -p wcocr/build && cd wcocr/build && cmake .. && make -j$(nproc)