Last active
February 28, 2016 08:13
-
-
Save CorcovadoMing/ad7fde186287af261694 to your computer and use it in GitHub Desktop.
opencv
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:14.04 | |
RUN apt-get update && \ | |
apt-get install -y \ | |
build-essential \ | |
cmake \ | |
git \ | |
wget \ | |
unzip \ | |
pkg-config \ | |
libswscale-dev \ | |
python3-dev \ | |
python3-numpy \ | |
libtbb2 \ | |
libtbb-dev \ | |
libjpeg-dev \ | |
libpng-dev \ | |
libtiff-dev \ | |
libjasper-dev \ | |
libavformat-dev \ | |
&& apt-get -y clean all \ | |
&& rm -rf /var/lib/apt/lists/* | |
WORKDIR / | |
RUN git clone https://github.com/Itseez/opencv.git opencv\ | |
&& cd opencv \ | |
&& mkdir build \ | |
&& cd build \ | |
&& cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/usr/local .. \ | |
&& make -j8 \ | |
&& make install \ | |
&& ldconfig |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment