Last active
February 2, 2017 20:26
-
-
Save lukeyeager/fc0b21a62fca7b3edb24 to your computer and use it in GitHub Desktop.
NVcaffe on CentOS7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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