Skip to content

Commit b3008e9

Browse files
committed
Remove OpenCV from Dockerfile.
1 parent 3782364 commit b3008e9

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

Dockerfile

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,9 @@ RUN mkdir -p /usr/src/aiscm
3737
WORKDIR /usr/src
3838
RUN wget -q https://github.com/protocolbuffers/protobuf/releases/download/v3.10.0/protobuf-all-3.10.0.tar.gz
3939
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
4240
RUN wget -q https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-1.14.0.tar.gz
4341
RUN tar xzf protobuf-all-3.10.0.tar.gz
4442
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
4743
RUN tar xz -C /usr -f libtensorflow-cpu-linux-x86_64-1.14.0.tar.gz
4844
WORKDIR /usr/src/protobuf-3.10.0
4945
RUN ./configure --prefix=/usr
@@ -53,11 +49,6 @@ WORKDIR /usr/src/protobuf-c-1.3.2
5349
RUN ./configure --prefix=/usr
5450
RUN make -j `nproc`
5551
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
6152
WORKDIR /usr/src/aiscm
6253
ADD debian/control debian/control
6354
RUN mk-build-deps --install --remove --tool 'apt-get -q --yes' debian/control

0 commit comments

Comments
 (0)