From 11943d034544437a40a24c27d00d72cd32f49f18 Mon Sep 17 00:00:00 2001 From: mofeng-git Date: Sun, 4 Aug 2024 12:32:17 +0800 Subject: [PATCH] =?UTF-8?q?Docker=20=E6=9E=84=E5=BB=BA=E6=97=B6=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=20PyPi=20=E9=95=9C=E5=83=8F=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- testenv/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testenv/Dockerfile b/testenv/Dockerfile index e8415828..588eb37f 100644 --- a/testenv/Dockerfile +++ b/testenv/Dockerfile @@ -79,7 +79,7 @@ RUN pacman --noconfirm --ask=4 -Syy \ && rm -rf /var/cache/pacman/pkg/* COPY testenv/requirements.txt requirements.txt -RUN pip install --break-system-packages -r requirements.txt +RUN pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple && pip install --break-system-packages -r requirements.txt # https://stackoverflow.com/questions/57534295 WORKDIR /root