chore: 更新Dockerfile添加镜像更新脚本并运行
All checks were successful
Build Server / Compile DLL (push) Successful in 10m13s
All checks were successful
Build Server / Compile DLL (push) Successful in 10m13s
- 更新Dockerfile以添加镜像更新脚本并运行以确保获取最新的镜像。
This commit is contained in:
@@ -8,6 +8,10 @@ FROM greyltc/archlinux-aur:yay AS runner
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . .
|
COPY . .
|
||||||
COPY --from=lib /src/wcocr/build/libwcocr.so .
|
COPY --from=lib /src/wcocr/build/libwcocr.so .
|
||||||
|
# update mirrorlist
|
||||||
|
ADD https://raw.githubusercontent.com/greyltc/docker-archlinux/master/get-new-mirrors.sh /usr/bin/get-new-mirrors
|
||||||
|
RUN chmod +x /usr/bin/get-new-mirrors && \
|
||||||
|
get-new-mirrors
|
||||||
RUN aur-install bun-bin wechat-bin && \
|
RUN aur-install bun-bin wechat-bin && \
|
||||||
bun install --frozen-lockfile
|
bun install --frozen-lockfile
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user