myContainers / cudabuild /Dockerfile
TobDeBer's picture
clean up containers
ee372b9
raw
history blame
698 Bytes
FROM debian:bookworm-slim
RUN apt-get update && apt-get upgrade
RUN apt-get -y install git git-lfs pip cmake python3 ccache wget
#RUN apt-get -y install cuda-toolkit-12-6
RUN wget https://developer.download.nvidia.com/compute/cuda/12.6.1/local_installers/cuda-repo-debian12-12-6-local_12.6.1-560.35.03-1_amd64.deb
RUN apt -y install software-properties-common
RUN add-apt-repository -y contrib
RUN dpkg -i cuda-repo-debian12-12-6-local_12.6.1-560.35.03-1_amd64.deb
RUN cp /var/cuda-repo-debian12-12-6-local/cuda-D6D196D1-keyring.gpg /usr/share/keyrings/
RUN dpkg -i cuda-repo-debian12-12-6-local_12.6.1-560.35.03-1_amd64.deb
#RUN apt-get -y install cuda-toolkit-12-6
CMD ["sleep", " infinity"]