File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -37,13 +37,9 @@ RUN mkdir -p /usr/src/aiscm
37
37
WORKDIR /usr/src
38
38
RUN wget -q https://github.com/protocolbuffers/protobuf/releases/download/v3.10.0/protobuf-all-3.10.0.tar.gz
39
39
RUN wget -q https://github.com/protobuf-c/protobuf-c/releases/download/v1.3.2/protobuf-c-1.3.2.tar.gz
40
- RUN wget -q https://github.com/opencv/opencv/archive/4.1.2.tar.gz -O opencv-4.1.2.tar.gz
41
- RUN wget -q https://github.com/opencv/opencv_contrib/archive/4.1.2.tar.gz -O opencv_contrib-4.1.2.tar.gz
42
40
RUN wget -q https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-1.14.0.tar.gz
43
41
RUN tar xzf protobuf-all-3.10.0.tar.gz
44
42
RUN tar xzf protobuf-c-1.3.2.tar.gz
45
- RUN tar xzf opencv-4.1.2.tar.gz
46
- RUN tar xzf opencv_contrib-4.1.2.tar.gz
47
43
RUN tar xz -C /usr -f libtensorflow-cpu-linux-x86_64-1.14.0.tar.gz
48
44
WORKDIR /usr/src/protobuf-3.10.0
49
45
RUN ./configure --prefix=/usr
@@ -53,11 +49,6 @@ WORKDIR /usr/src/protobuf-c-1.3.2
53
49
RUN ./configure --prefix=/usr
54
50
RUN make -j `nproc`
55
51
RUN make install
56
- RUN mkdir /usr/src/opencv-4.1.2/build
57
- WORKDIR /usr/src/opencv-4.1.2/build
58
- RUN cmake -DCMAKE_INSTALL_PREFIX=/usr -DOPENCV_GENERATE_PKGCONFIG=YES -DOPENCV_EXTRA_MODULES_PATH=../../opencv_contrib-4.1.2/modules ..
59
- RUN make -j `nproc`
60
- RUN make install
61
52
WORKDIR /usr/src/aiscm
62
53
ADD debian/control debian/control
63
54
RUN mk-build-deps --install --remove --tool 'apt-get -q --yes' debian/control
You can’t perform that action at this time.
0 commit comments