All checks were successful
Build Server / Compile DLL (push) Successful in 3m38s
- 将基础镜像从paru修改为yay,并改变软件包安装工具为aur-install。
19 lines
561 B
Docker
19 lines
561 B
Docker
# FROM greyltc/archlinux-aur:yay AS lib
|
|
# WORKDIR /src
|
|
# RUN yay -Syu --noconfirm 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)
|
|
|
|
FROM greyltc/archlinux-aur:yay
|
|
WORKDIR /app
|
|
RUN aur-install bun-bin wechat-bin && \
|
|
echo "Hello World"
|
|
# COPY --from=lib /src/wcocr/build/libwcocr.so .
|
|
# COPY src/index.ts .
|
|
# RUN bun install hono
|
|
|
|
# EXPOSE 3000
|
|
|
|
# CMD ["bun", "src/index.ts"]
|