From c39a2b5c23a14faae43e7e3aa4ce77c598a69a07 Mon Sep 17 00:00:00 2001 From: Aryan Blaauw Date: Mon, 28 Aug 2017 10:26:33 +0200 Subject: [PATCH] Create Dockerfile.light --- Dockerfile.light | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Dockerfile.light diff --git a/Dockerfile.light b/Dockerfile.light new file mode 100644 index 0000000..b7f4d74 --- /dev/null +++ b/Dockerfile.light @@ -0,0 +1,23 @@ +FROM nvidia/cuda:8.0-runtime-ubuntu16.04 + +LABEL com.nvidia.volumes.needed="nvidia_driver" + +ENV PATH /usr/local/nvidia/bin:${PATH} +ENV LD_LIBRARY_PATH /usr/local/nvidia/lib:/usr/local/nvidia/lib64:${LD_LIBRARY_PATH} + +RUN apt-get update && export DEBIAN_FRONTEND=noninteractive && apt-get upgrade -y && apt-get install -y git net-tools nvidia-375 cuda && apt-get clean all + +RUN cd /root &&git clone git://github.com/novnc/noVNC && cp /root/noVNC/vnc.html /root/noVNC/index.html && mkdir /root/.vnc + +RUN git clone --recursive http://git.tiker.net/trees/pycuda.git +RUN git clone --recursive https://github.com/twobombs/cuburn.git + +RUN cd /pycuda&&configure&&make&&make install + +RUN add-apt-repository universe +RUN apt-get update +RUN apt-get install -y libboost-all-dev python-pycuda python-pip && apt-get clean all + +RUN pip install numpy scipy + +EXPOSE 5900 6080