Docker构建RobotReviewer环境报错:无法定位APT软件包
Docker搭建RobotReviewer开发环境时遇到apt包无法定位问题
已将RobotReviewer仓库下载到本地,尝试创建Docker环境时出现apt无法定位多个基础包的错误,具体错误信息如下:
#18 [celery production-stage 5/25] RUN xargs -a /tmp/apt-requirements.txt apt-get install -y --no-install-recommends && apt-get clean && rm -rf /etc/cron.*/* #18 1.052 Reading package lists... #18 2.170 Building dependency tree... #18 2.324 Reading state information... #18 2.340 E: Unable to locate package software-properties-common #18 2.341 E: Unable to locate package aria2 #18 2.341 E: Unable to locate package curl #18 2.341 E: Unable to locate package openssl #18 2.341 E: Unable to locate package ca-certificates #18 2.341 E: Unable to locate package libxml2 #18 2.341 E: Unable to locate package wget #18 2.341 E: Unable to locate package libsm6 #18 2.341 E: Unable to locate package libxrender1 #18 2.341 E: Unable to locate package libfontconfig1 #18 2.341 E: Unable to locate package git #18 2.341 E: Unable to locate package sudo #18 2.341 E: Unable to locate package cron #18 ERROR: process "/bin/sh -c xargs -a /tmp/apt-requirements.txt apt-get install -y --no-install-recommends && apt-get clean && rm -rf /etc/cron.*/*" did not complete successfully: exit code: 123 ------ > [celery production-stage 5/25] RUN xargs -a /tmp/apt-requirements.txt apt-get install -y --no-install-recommends && apt-get clean && rm -rf /etc/cron.*/*: 2.341 E: Unable to locate package openssl 2.341 E: Unable to locate package ca-certificates 2.341 E: Unable to locate package libxml2 2.341 E: Unable to locate package wget 2.341 E: Unable to locate package libsm6 2.341 E: Unable to locate package libxrender1 2.341 E: Unable to locate package libfontconfig1 2.341 E: Unable to locate package git 2.341 E: Unable to locate package sudo 2.341 E: Unable to locate package cron ------ failed to solve: process "/bin/sh -c xargs -a /tmp/apt-requirements.txt apt-get install -y --no-install-recommends && apt-get clean && rm -rf /etc/cron.*/*" did not complete successfully: exit code: 123 exit status 17
复现步骤
- 下载仓库到本地
- 尝试创建开发环境
环境信息
OS: Win 11 Docker version: Docker version 24.0.7, build afdd53b
本人是Docker新手,迫切希望解决问题以使用RobotReviewer应用,恳请各位提供帮助或指导,谢谢!
内容的提问来源于stack exchange,提问作者Muhammed Edib Mokresh
相关产品推荐
相关产品推荐

