Created
July 24, 2014 06:05
-
-
Save huyng/7fd5bdacaee5ba0e350f to your computer and use it in GitHub Desktop.
Dockerfile to setup and build a linux machine compatible for running bvlc/caffe
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 ubuntu:12.04 | |
RUN apt-get -y update | |
RUN apt-get -y install wget git curl python-dev libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libboost-all-dev libhdf5-serial-dev protobuf-compiler libatlas-dev libatlas-base-dev | |
RUN wget https://google-glog.googlecode.com/files/glog-0.3.3.tar.gz -O /tmp/glog-0.3.3.tar.gz && tar -C /tmp -xzvf /tmp/glog-0.3.3.tar.gz && rm /tmp/glog-0.3.3.tar.gz | |
RUN cd /tmp/glog-0.3.3 && ./configure && make && make install && cd - | |
RUN curl http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1204/x86_64/cuda-repo-ubuntu1204_6.0-37_amd64.deb -o /tmp/cuda_install.deb && dpkg -i /tmp/cuda_install.deb && rm /tmp/cuda_install.deb | |
RUN apt-get -y update && apt-get -y install cuda | |
RUN curl https://gitorious.org/mdb/mdb/archive/7f038d0f15bec57b4c07aa3f31cd5564c88a1897.tar.gz -o /tmp/mdb.tar.gz && tar -C /tmp -xzvf /tmp/mdb.tar.gz && rm /tmp/mdb.tar.gz | |
RUN cd /tmp/mdb-mdb/libraries/liblmdb/ && make && make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment