Skip to content

Commit

Permalink
Ubuntu 22.04でのCUDAのインストールエラーを回避。
Browse files Browse the repository at this point in the history
  • Loading branch information
rigaya committed May 11, 2024
1 parent 25d9e06 commit 65f3e9d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker/docker_ubuntu1804_cuda10
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ RUN apt update \
&& dpkg -i ${CUDA_DEB_NAME} \
&& apt-key add ${CUDA_PUB_PATH} \
&& apt-get update \
&& apt-get -y install cuda-drivers cuda-compiler-${CUDA_VER_MAJOR}-${CUDA_VER_MINOR} cuda-cudart-dev-${CUDA_VER_MAJOR}-${CUDA_VER_MINOR} cuda-driver-dev-${CUDA_VER_MAJOR}-${CUDA_VER_MINOR} cuda-nvrtc-dev-${CUDA_VER_MAJOR}-${CUDA_VER_MINOR} cuda-curand-dev-${CUDA_VER_MAJOR}-${CUDA_VER_MINOR} cuda-npp-dev-${CUDA_VER_MAJOR}-${CUDA_VER_MINOR} cuda-nvml-dev-${CUDA_VER_MAJOR}-${CUDA_VER_MINOR} \
&& apt-get -y install cuda \
&& rm -f ${CUDA_DEB_NAME} \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
Expand Down
2 changes: 1 addition & 1 deletion docker/docker_ubuntu2004_cuda11
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ RUN apt update \
&& dpkg -i ${CUDA_DEB_NAME} \
&& apt-key add ${CUDA_PUB_PATH} \
&& apt-get update \
&& apt-get -y install cuda-drivers cuda-compiler-${CUDA_VER_MAJOR}-${CUDA_VER_MINOR} cuda-cudart-dev-${CUDA_VER_MAJOR}-${CUDA_VER_MINOR} cuda-driver-dev-${CUDA_VER_MAJOR}-${CUDA_VER_MINOR} cuda-nvrtc-dev-${CUDA_VER_MAJOR}-${CUDA_VER_MINOR} libcurand-dev-${CUDA_VER_MAJOR}-${CUDA_VER_MINOR} libnpp-dev-${CUDA_VER_MAJOR}-${CUDA_VER_MINOR} cuda-nvml-dev-${CUDA_VER_MAJOR}-${CUDA_VER_MINOR} \
&& apt-get -y install cuda \
&& rm -f ${CUDA_DEB_NAME} \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
Expand Down
2 changes: 1 addition & 1 deletion docker/docker_ubuntu2204_cuda11
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ RUN apt update \
&& dpkg -i ${CUDA_DEB_NAME} \
&& cp ${CUDA_GPG_PATH}/cuda-*-keyring.gpg /usr/share/keyrings/ \
&& apt-get update \
&& apt-get -y install cuda-drivers cuda-compiler-${CUDA_VER_MAJOR}-${CUDA_VER_MINOR} cuda-cudart-dev-${CUDA_VER_MAJOR}-${CUDA_VER_MINOR} cuda-driver-dev-${CUDA_VER_MAJOR}-${CUDA_VER_MINOR} cuda-nvrtc-dev-${CUDA_VER_MAJOR}-${CUDA_VER_MINOR} libcurand-dev-${CUDA_VER_MAJOR}-${CUDA_VER_MINOR} libnpp-dev-${CUDA_VER_MAJOR}-${CUDA_VER_MINOR} cuda-nvml-dev-${CUDA_VER_MAJOR}-${CUDA_VER_MINOR} \
&& apt-get -y install cuda \
&& rm -f ${CUDA_DEB_NAME} \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
Expand Down

0 comments on commit 65f3e9d

Please sign in to comment.