Skip to content

Instantly share code, notes, and snippets.

@vjcitn
Created March 22, 2025 03:06
Show Gist options
  • Save vjcitn/681c9b05722544520664e0112b0364d3 to your computer and use it in GitHub Desktop.
Save vjcitn/681c9b05722544520664e0112b0364d3 to your computer and use it in GitHub Desktop.
A dockerfile supporting a test of RbowtieCuda
FROM rocker/r-ver:devel
RUN apt update
RUN apt install -y vim git cmake
RUN git clone https://github.com/FranckRICHARD01/RbowtieCuda
# likely unnecessary
#RUN apt-get purge -y nvidia* libnvidia*
#RUN apt-get remove -y nvidia-*
#RUN rm -f /etc/apt/sources.list.d/*cuda*
#RUN apt-get autoremove -y && sudo apt-get autoclean -y
#RUN rm -rf /usr/local/cuda*
RUN apt install -y linux-headers-6.11.0-17-generic
# install other import packages
RUN apt install -y g++ freeglut3-dev build-essential libx11-dev libxmu-dev libxi-dev libglu1-mesa libglu1-mesa-dev
RUN apt install -y nvidia-cuda-dev nvidia-cuda-toolkit libthrust-dev libcub-dev
RUN apt install -y wget libcurl4-openssl-dev libz-dev libssl-dev liblzma-dev
RUN apt install -y libbz2-dev libxml2-dev libfontconfig1-dev libharfbuzz-dev libfribidi-dev
RUN apt install -y libfreetype6-dev libpng-dev libtiff5-dev libjpeg-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment