Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker配置环境失败 #221

Open
aqr1961 opened this issue May 1, 2023 · 3 comments
Open

docker配置环境失败 #221

aqr1961 opened this issue May 1, 2023 · 3 comments

Comments

@aqr1961
Copy link

aqr1961 commented May 1, 2023

W: GPG error: http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ubuntu focal InRelease: At least one invalid signature was encountered.
E: The repository 'http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ubuntu focal InRelease' is not signed.
W: GPG error: http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ubuntu focal-updates InRelease: At least one invalid signature was encountered.
E: The repository 'http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ubuntu focal-updates InRelease' is not signed.
W: GPG error: http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ubuntu focal-backports InRelease: At least one invalid signature was encountered.
E: The repository 'http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ubuntu focal-backports InRelease' is not signed.
W: GPG error: http://security.ubuntu.com/ubuntu focal-security InRelease: At least one invalid signature was encountered.
E: The repository 'http://security.ubuntu.com/ubuntu focal-security InRelease' is not signed.
The command '/bin/sh -c apt-get clean && apt-get update && apt-get install -y vim libsm6 libxext6 libxrender-dev libgl1-mesa-glx git wget libssl-dev libopencv-dev libspdlog-dev --no-install-recommends && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100
黄博士您好 我在使用docker配置环境的时候 出现了这样的错误 初步推断是镜像源不可用造成的 请问您有什么解决方案吗
谢谢您

@HuangJunJie2017
Copy link
Owner

@aqr1961 rm all '-i https://pypi.tuna.tsinghua.edu.cn/simple' from dockerfile

@XIEdeda
Copy link

XIEdeda commented Oct 12, 2023

@aqr1961 请问你解决了这个问题吗?

@FlyingAnt2018
Copy link

@aqr1961 请问你解决了这个问题吗?

DOCKER_BUILDKIT=1 docker build --network host -t your_image_name .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants