From d1c5760329b5f7c9f916f52ae86aab139fcb84cc Mon Sep 17 00:00:00 2001 From: imbytecat Date: Sat, 19 Jul 2025 15:40:32 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0Dockerfile=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E9=95=9C=E5=83=8F=E6=9B=B4=E6=96=B0=E8=84=9A=E6=9C=AC?= =?UTF-8?q?=E5=B9=B6=E8=BF=90=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 更新Dockerfile以添加镜像更新脚本并运行以确保获取最新的镜像。 --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 351d82e..cadce66 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,6 +8,10 @@ FROM greyltc/archlinux-aur:yay AS runner WORKDIR /app COPY . . 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 && \ bun install --frozen-lockfile