diff --git a/docker/Dockerfile.customopbuilder.clean b/docker/Dockerfile.customopbuilder.clean index 0b3f42eae8..7fc2aecbaa 100644 --- a/docker/Dockerfile.customopbuilder.clean +++ b/docker/Dockerfile.customopbuilder.clean @@ -22,7 +22,7 @@ RUN rm -rf /etc/apt/sources.list.d/jonathonf-* && \ echo "deb https://ppa.launchpadcontent.net/ubuntu-toolchain-r/test/ubuntu xenial main " >> /etc/apt/sources.list && \ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1E9377A2BA9EF27F && \ # update cuda key - apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/3bf863cc.pub && \ + wget -qO - http://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/3bf863cc.pub | apt-key add - && \ apt-get update && \ apt install g++-7 -y && \ rm /usr/bin/gcc /usr/bin/g++ && ln -s gcc-7 /usr/bin/gcc && ln -s g++-7 /usr/bin/g++ && \