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 image fails to build due to bad cuda repo pki #3

Open
qhaas opened this issue Jun 9, 2022 · 0 comments
Open

Docker image fails to build due to bad cuda repo pki #3

qhaas opened this issue Jun 9, 2022 · 0 comments

Comments

@qhaas
Copy link

qhaas commented Jun 9, 2022

The base image of pytorch/pytorch:1.4-cuda10.1-cudnn7-devel is ~2 years old and it appears that the nvidia apt repository leveraged by it has had its pkis revoked or they have expired, resulting in the inability to build this image (see attached docker build log) .

This can be fixed in a number of ways

  • Update to a newer versions of a GPU enabled variant of pytorch/pytorch for the base image (big change)
  • Disable the cuda repo by adding a RUN sed -i 's|^deb|#deb|' /etc/apt/sources.list.d/cuda.list before the first RUN (least invasive since packages from this repo do not seem to be deployed in the Dockerfile)
  • Update the PKIs by adding a RUN apt-get clean && apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub before the first RUN (this will break again once the PKIs loaded by it expire)
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

1 participant