Skip to content

Commit

Permalink
update nvhpc
Browse files Browse the repository at this point in the history
  • Loading branch information
havogt committed Jun 12, 2024
1 parent e359945 commit ccf072e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions nvhpc/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ ARG NVHPC_VERSION
ENV NVHPC_VERSION ${NVHPC_VERSION}

RUN NVHPC_VERSION_DASH=$(echo ${NVHPC_VERSION} | sed 's/\./-/g') && \
echo 'deb [trusted=yes] https://developer.download.nvidia.com/hpc-sdk/ubuntu/amd64 /' > /etc/apt/sources.list.d/nvhpc.list && \
apt-get update -qq && \
curl https://developer.download.nvidia.com/hpc-sdk/ubuntu/DEB-GPG-KEY-NVIDIA-HPC-SDK | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-hpcsdk-archive-keyring.gpg \
echo 'deb [signed-by=/usr/share/keyrings/nvidia-hpcsdk-archive-keyring.gpg] https://developer.download.nvidia.com/hpc-sdk/ubuntu/amd64 /' | sudo tee /etc/apt/sources.list.d/nvhpc.list \
apt-get update -qq -y && \
DEBIAN_FRONTEND=noninteractive apt-get install -qq -y nvhpc-${NVHPC_VERSION_DASH} && \
rm -rf /var/lib/apt/lists/*

Expand Down

0 comments on commit ccf072e

Please sign in to comment.