From ab68cce5950e0d61ac5adc44217358f18438f418 Mon Sep 17 00:00:00 2001 From: yml Date: Tue, 17 Nov 2026 17:45:35 +0800 Subject: [PATCH] =?UTF-8?q?build(ocr):=20=E5=8A=A0=E9=80=9F=E7=94=9F?= =?UTF-8?q?=E4=BA=A7=E9=95=9C=E5=83=8F=E6=9E=84=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/ocr/Dockerfile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/deploy/ocr/Dockerfile b/deploy/ocr/Dockerfile index f50ef643..1bc07629 100644 --- a/deploy/ocr/Dockerfile +++ b/deploy/ocr/Dockerfile @@ -4,7 +4,11 @@ FROM debian:bookworm-slim AS build ARG DEBIAN_FRONTEND=noninteractive -RUN apt-get update \ +RUN sed -i \ + -e 's|http://deb.debian.org/debian|http://mirrors.ustc.edu.cn/debian|g' \ + -e 's|http://deb.debian.org/debian-security|http://mirrors.ustc.edu.cn/debian-security|g' \ + /etc/apt/sources.list.d/debian.sources \ + && apt-get update \ && apt-get install -y --no-install-recommends \ build-essential \ cmake \ @@ -33,7 +37,11 @@ RUN cmake -S . -B build \ FROM debian:bookworm-slim ARG DEBIAN_FRONTEND=noninteractive -RUN apt-get update \ +RUN sed -i \ + -e 's|http://deb.debian.org/debian|http://mirrors.ustc.edu.cn/debian|g' \ + -e 's|http://deb.debian.org/debian-security|http://mirrors.ustc.edu.cn/debian-security|g' \ + /etc/apt/sources.list.d/debian.sources \ + && apt-get update \ && apt-get install -y --no-install-recommends \ curl \ libstdc++6 \