Verified Commit 408c1d90 authored by Jean-Noël Grad's avatar Jean-Noël Grad
Browse files

Make the Ubuntu 20.04 image CUDA-capable

parent c9fe9d6d
......@@ -5,9 +5,16 @@ COPY ubuntu-packages.txt /tmp
RUN apt-get update && xargs -a /tmp/ubuntu-packages.txt apt-get install -y \
&& apt-get install -y \
clang-9 clang-tidy-9 clang-format-9 \
gcc-8 g++-8 \
gcc-9 g++-9 \
libthrust-dev \
nvidia-cuda-toolkit \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
RUN bash /tmp/build-and-install-scafacos.sh
ENV NVIDIA_VISIBLE_DEVICES all
ENV NVIDIA_DRIVER_CAPABILITIES compute,utility
RUN useradd -m espresso
USER espresso
ENV HOME="/home/espresso"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment