maum-ai / hififace

Unofficial PyTorch Implementation for HifiFace (https://arxiv.org/abs/2106.09965)
BSD 3-Clause "New" or "Revised" License
349 stars 57 forks source link

Docker Build Error #19

Open aylinSyntonym opened 1 year ago

aylinSyntonym commented 1 year ago

If you getting following error while building dockerfile `

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`

When you add following lines to dockerfile before run the apt-get update, error is resolving.

RUN rm /etc/apt/sources.list.d/cuda.list RUN rm /etc/apt/sources.list.d/nvidia-ml.list RUN apt-key del 7fa2af80 RUN apt-get update && apt-get install -y --no-install-recommends wget RUN wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-keyring_1.0-1_all.deb RUN dpkg -i cuda-keyring_1.0-1_all.deb