Skip to content

Commit 2d96be0

Browse files
authored
Update Dockerfile
1 parent 37b2b06 commit 2d96be0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cvo_gpu/Dockerfile

+3-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ RUN apt-get update \
1818
&& dpkg-reconfigure --frontend=noninteractive locales \
1919
&& update-locale LANG=en_US.UTF-8
2020

21-
# patch fix: for nvidia deprecated key
22-
RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub
21+
# remove deprecated nvidia key
22+
RUN apt install -y wget && wget -qO - https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub | apt-key add - \
23+
&& apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub
2324

2425
RUN apt update && apt-get install -y software-properties-common && \
2526
add-apt-repository ppa:ubuntu-toolchain-r/test && \

0 commit comments

Comments
 (0)