isl-org / MiDaS

Code for robust monocular depth estimation described in "Ranftl et. al., Towards Robust Monocular Depth Estimation: Mixing Datasets for Zero-shot Cross-dataset Transfer, TPAMI 2022"
MIT License
4.27k stars 599 forks source link

PUBKEY error building the docker image #188

Open wangbohan6aa opened 1 year ago

wangbohan6aa commented 1 year ago

Hi,when building the Docker image with :docker build -t midas . the following error occured: 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: _NOPUBKEY A4B469963BF863CC #6 3.925 E: The repository 'https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 InRelease' is not signed.

try fix with: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A4B469963BF863CC but failed.

Do you have any idea? 2022-10-18 (2)

spinachpasta commented 1 year ago

https://github.com/open-mmlab/OpenPCDet/issues/955

This worked for me. (This is temporal workaround, though.) Problem was solved by adding follwoing line to Dockerfile

RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub
jere357 commented 1 year ago

you should make a PR with this, i'm also having the same issue, and this solved my problem