chore: 增强构建环境功能,添加git安装
All checks were successful
Build Server / Compile DLL (push) Successful in 4m38s
All checks were successful
Build Server / Compile DLL (push) Successful in 4m38s
- 添加git安装以增强构建环境功能。
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user