cuburn/Dockerfile
2017-12-11 20:36:29 +01:00

16 lines
729 B
Docker

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&&apt-get install -y git software-properties-common python-software-properties python-setuptools python3-setuptools python-migrate && apt-get clean all
RUN git clone --recursive http://git.tiker.net/trees/pycuda.git
RUN git clone --recursive https://github.com/stevenrobertson/cuburn.git
RUN add-apt-repository universe && apt-get update && export DEBIAN_FRONTEND=noninteractive && apt-get install -y libboost-all-dev python-pycuda python-pip && apt-get clean all
RUN pip install numpy scipy