Skip to content

Commit

Permalink
Append cuda binary path.
Browse files Browse the repository at this point in the history
Remove cuda installer to reduce image size.
  • Loading branch information
caic99 committed Sep 12, 2021
1 parent cb11811 commit 92115dd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile.cuda
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM ghcr.io/deepmodeling/abacus-development-kit:gnu

RUN wget https://developer.download.nvidia.com/compute/cuda/11.4.2/local_installers/cuda_11.4.2_470.57.02_linux.run --no-check-certificate --quiet \
&& sh cuda_11.4.2_470.57.02_linux.run --toolkit --silent
&& sh cuda_11.4.2_470.57.02_linux.run --toolkit --silent \
&& rm cuda_11.4.2_470.57.02_linux.run
ENV PATH=/usr/local/cuda/bin:$PATH

0 comments on commit 92115dd

Please sign in to comment.