Skip to content

Instantly share code, notes, and snippets.

@lukeyeager
Last active February 2, 2017 20:26
Show Gist options
  • Save lukeyeager/fc0b21a62fca7b3edb24 to your computer and use it in GitHub Desktop.
Save lukeyeager/fc0b21a62fca7b3edb24 to your computer and use it in GitHub Desktop.
NVcaffe on CentOS7
FROM nvidia/cuda:7.0-devel-centos7
RUN yum install -y epel-release
RUN yum install -y gcc gcc-c++ make cmake \
git \
gflags-devel glog-devel \
opencv-devel \
boost-devel \
openblas-devel \
protobuf-devel \
leveldb-devel snappy-devel hdf5-devel lmdb-devel
RUN git clone https://github.com/NVIDIA/caffe.git ~/caffe --branch caffe-0.14
RUN mkdir ~/caffe/build && \
cd ~/caffe/build && \
cmake .. -DBLAS=Open && \
make -j4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment