Skip to content

Commit

Permalink
docker: cuda-toolkit only
Browse files Browse the repository at this point in the history
  • Loading branch information
tpruvot committed Mar 9, 2024
1 parent 40a1a44 commit d2effb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ RUN dpkg -i cuda-repo-ubuntu2204-11-8-local_11.8.0-520.61.05-1_amd64.deb
RUN apt-key add /var/cuda-repo-ubuntu2204-11-8-local/*.pub
RUN cp /var/cuda-repo-ubuntu2204-11-8-local/cuda-*-keyring.gpg /usr/share/keyrings/
RUN apt-get update
RUN apt-get -y install cuda
RUN apt-get -y install cuda-toolkit-11-8 cuda-cudart-11-8 libnvidia-compute-520
RUN rm *.deb
RUN ldconfig
RUN git clone https://github.com/tpruvot/ccminer
WORKDIR ccminer
RUN git checkout linux
RUN ./build.sh
RUN strip -s ccminer
RUN make install
RUN ldconfig /usr/local/cuda/lib64
RUN make clean
#RUN ccminer --version
RUN apt-get remove -y libcurl4-openssl-dev libssl-dev libjansson-dev
Expand Down

0 comments on commit d2effb9

Please sign in to comment.