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

Sample Dockerfile won't build #5

Closed
robotrapta opened this issue May 10, 2022 · 3 comments · Fixed by #6
Closed

Sample Dockerfile won't build #5

robotrapta opened this issue May 10, 2022 · 3 comments · Fixed by #6
Assignees

Comments

@robotrapta
Copy link

The example Dockerfile fails to build. The line

RUN apt-get update && apt-get install -y git

gives this error:

Reading package lists...
W: GPG error: https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64  InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A4B469963BF863CC
E: The repository 'https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64  InRelease' is not signed.
The command '/bin/sh -c apt-get update && apt-get install -y git' returned a non-zero code: 100
ERROR: Service 'app' failed to build : Build failed

which smells like the image has apt-get configured with some old nvidia key. But upgrading to a newer pytorch base image pytorch/pytorch:1.11.0-cuda11.3-cudnn8-devel doesn't fix it.

@robotrapta
Copy link
Author

Found a workaround [here](# ref: NVIDIA/nvidia-container-toolkit#257) which is to add this before apt-get update:

RUN rm /etc/apt/sources.list.d/cuda.list
RUN rm /etc/apt/sources.list.d/nvidia-ml.list solution

@kylejmorris
Copy link
Contributor

aha good catch, yeah they rotated there GPG keys last week but we forgot to update our file. Thanks for this!

@kylejmorris kylejmorris self-assigned this May 10, 2022
@kylejmorris
Copy link
Contributor

fixed thnx!

@kylejmorris kylejmorris linked a pull request May 10, 2022 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants