-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
27 lines (27 loc) · 1.04 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#Please note that the final image was committed with several changes to make it
#an operational CellModeller container after this Dockerfile was used to build the initial image.
#For more details, see https://github.com/HaseloffLab/CellModeller/issues/23#issuecomment-669260388
#A methodology paper for both the NVIDIA and AMD based docker images is under submission whose Dockerfiles
#will be updated in this repository on the day of submission.
FROM nvidia/opengl:1.0-glvnd-runtime-ubuntu18.04
RUN apt-get update \
&& apt-get install -y -qq --no-install-recommends \
libglvnd0 \
libgl1 \
libglx0 \
libegl1 \
libxext6 \
libx11-6 \
mesa-utils \
ocl-icd-libopencl1 \
opencl-headers \
clinfo \
glmark2 \
git \
wget \
&& rm -rf /var/lib/apt/lists/*
RUN mkdir -p /etc/OpenCL/vendors && \
echo "libnvidia-opencl.so.1" > /etc/OpenCL/vendors/nvidia.icd
RUN ln -s /usr/lib/x86_64-linux-gnu/libOpenCL.so.1 /usr/lib/libOpenCL.so
ENV NVIDIA_VISIBLE_DEVICES all
ENV NVIDIA_DRIVER_CAPABILITIES graphics,utility,compute