diff --git a/docker/Dockerfile.nvidia b/docker/Dockerfile.nvidia index c2d6d074a5e..59fc94e0eff 100644 --- a/docker/Dockerfile.nvidia +++ b/docker/Dockerfile.nvidia @@ -40,7 +40,10 @@ RUN if [ "$ver" = "nvhpc" ]; then \ apt-get install --allow-unauthenticated -y -q ./nvhpc_${year}.${minor}_amd64.deb; \ fi; -RUN curl -sL https://deb.nodesource.com/setup_18.x | bash - && \ +# Nodejs https://github.com/nodesource/distributions +RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --yes --dearmor -o /etc/apt/keyrings/nodesource.gpg +RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list +RUN apt update && apt-get install -y -q \ apt-get install -y -q \ liblapack-dev libblas-dev \ libibverbs-dev libmlx4-1 libmlx5-1 ibutils \