mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-04-22 03:37:51 +08:00
Fix: switch Python package mirror from Tsinghua to Aliyun (#13617)
### What problem does this PR solve? Replace pypi.tuna.tsinghua.edu.cn with mirrors.aliyun.com to resolve issues with missing packages on the Tsinghua mirror. ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
@ -134,7 +134,7 @@ jobs:
|
||||
BUILDER_CONTAINER=ragflow_build_$(od -An -N4 -tx4 /dev/urandom | tr -d ' ')
|
||||
echo "BUILDER_CONTAINER=${BUILDER_CONTAINER}" >> ${GITHUB_ENV}
|
||||
TZ=${TZ:-$(readlink -f /etc/localtime | awk -F '/zoneinfo/' '{print $2}')}
|
||||
sudo docker run --privileged -d --name ${BUILDER_CONTAINER} -e TZ=${TZ} -e UV_INDEX=https://pypi.tuna.tsinghua.edu.cn/simple -v ${PWD}:/ragflow -v ${PWD}/internal/cpp/resource:/usr/share/infinity/resource infiniflow/infinity_builder:ubuntu22_clang20
|
||||
sudo docker run --privileged -d --name ${BUILDER_CONTAINER} -e TZ=${TZ} -e UV_INDEX=https://mirrors.aliyun.com/pypi/simple -v ${PWD}:/ragflow -v ${PWD}/internal/cpp/resource:/usr/share/infinity/resource infiniflow/infinity_builder:ubuntu22_clang20
|
||||
sudo docker exec ${BUILDER_CONTAINER} bash -c "git config --global safe.directory \"*\" && cd /ragflow && ./build.sh --cpp"
|
||||
./build.sh --go
|
||||
if [[ -n "${BUILDER_CONTAINER}" ]]; then
|
||||
|
||||
Reference in New Issue
Block a user