fix: ci build apt install list error (#17086)

This commit is contained in:
maoyifeng
2026-07-20 13:33:58 +08:00
committed by GitHub
parent 2e06c1dfcc
commit 65b7d1565c

View File

@@ -186,7 +186,8 @@ WORKDIR /ragflow
# Install build-only dependencies for compiling Python C extensions.
# These are not inherited from base to keep the production image smaller.
RUN --mount=type=cache,id=ragflow_apt,target=/var/cache/apt,sharing=locked \
apt install -y build-essential libpython3-dev libicu-dev libgbm-dev && \
apt-get update --fix-missing && \
apt-get install -y build-essential libpython3-dev libicu-dev libgbm-dev && \
rm -rf /var/lib/apt/lists/*
# install dependencies from uv.lock file