This repository was archived by the owner on Aug 5, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +0
-49
lines changed Expand file tree Collapse file tree 1 file changed +0
-49
lines changed Original file line number Diff line number Diff line change 1- <<<<<<< HEAD
2- FROM nvidia/cuda:7.5-cudnn5-devel-ubuntu14.04
3- 4-
5- # ENV http_proxy proxy:port
6- # ENV https_proxy proxy:port
7-
8- RUN apt-get update && apt-get install -y --no-install-recommends \
9- build-essential \
10- cmake \
11- git \
12- wget \
13- libatlas-base-dev \
14- libboost-all-dev \
15- libgflags-dev \
16- libgoogle-glog-dev \
17- libhdf5-serial-dev \
18- libleveldb-dev \
19- liblmdb-dev \
20- libopencv-dev \
21- libprotobuf-dev \
22- libsnappy-dev \
23- protobuf-compiler \
24- python-dev \
25- python-numpy \
26- python-pip \
27- python-scipy && \
28- rm -rf /var/lib/apt/lists/*
29-
30- ENV CAFFE_ROOT=/opt/caffe
31- WORKDIR $CAFFE_ROOT
32-
33- # FIXME: clone a specific git tag and use ARG instead of ENV once DockerHub supports this.
34- ENV CLONE_TAG=master
35-
36- RUN git clone -b ${CLONE_TAG} --depth 1 https://github.com/intel/caffe.git . && \
37- for req in $(cat python/requirements.txt) pydot; do pip install $req; done && \
38- mkdir build && cd build && \
39- cmake -DUSE_CUDNN=1 .. && \
40- make -j"$(nproc)"
41-
42- ENV PYCAFFE_ROOT $CAFFE_ROOT/python
43- ENV PYTHONPATH $PYCAFFE_ROOT:$PYTHONPATH
44- ENV PATH $CAFFE_ROOT/build/tools:$PYCAFFE_ROOT:$PATH
45- RUN echo "$CAFFE_ROOT/build/lib" >> /etc/ld.so.conf.d/caffe.conf && ldconfig
46-
47- WORKDIR /workspace
48- =======
491FROM nvidia/cuda:7.5-cudnn5-devel-ubuntu14.04
502513
@@ -92,4 +44,3 @@ ENV PATH $CAFFE_ROOT/build/tools:$PYCAFFE_ROOT:$PATH
9244RUN echo "$CAFFE_ROOT/build/lib" >> /etc/ld.so.conf.d/caffe.conf && ldconfig
9345
9446WORKDIR /workspace
95- >>>>>>> remotes/internal/release_1.0.5
You can’t perform that action at this time.
0 commit comments