Closed asd651257822 closed 1 year ago
这个问题我也遇到了, 找到_setup.Dockerfile
文件中的RUN sed -i "s/deb.debian.org/mirrors.tencent.com/g" /etc/apt/sources.list\
, 将mirrors.tencent.com
修改成mirrors.aliyun.com
试试
将mirrors.tencent.com修改成mirrors.aliyun.com还是会报相同的错误
试着换其他的源,我刚刚测试没啥问题
root@ezucjfuyjd5ywtp5:~/QChatGPT-Docker-Installer# docker compose run -itd setup [+] Building 6.4s (6/6) FINISHED => [internal] load build definition from _setup.Dockerfile 0.0s => => transferring dockerfile: 798B 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [internal] load metadata for docker.io/library/python:3.9-slim 0.8s => [1/3] FROM docker.io/library/python:3.9-slim@sha256:3bab254e90bb0986ead59a3d415e719439e629d 0.0s => CACHED [2/3] WORKDIR /bot 0.0s => ERROR [3/3] RUN sed -i "s/deb.debian.org/mirrors.tencent.com/g" /etc/apt/sources.list && 5.6s