Created
October 15, 2019 12:15
-
-
Save surfertas/e4299de2241d5ff3f19159914fee482a to your computer and use it in GitHub Desktop.
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
# Copyright (c) 2018, ARM Limited. | |
# SPDX-License-Identifier: Apache-2.0 | |
FROM arm64v8/ubuntu:bionic | |
RUN apt-get -qq update && apt-get -qq install --no-install-recommends -y build-essential \ | |
cmake \ | |
git \ | |
wget \ | |
unzip \ | |
&& rm -rf /var/lib/apt/lists/* | |
# Install OpenCV | |
# Download & build OpenCV | |
# https://github.com/lbeaucourt/Object-detection/blob/master/Dockerfile | |
RUN wget -q -P /usr/local/src/ --no-check-certificate https://github.com/opencv/opencv/archive/3.4.1.zip | |
RUN cd /usr/local/src/ \ | |
&& unzip 3.4.1.zip \ | |
&& rm 3.4.1.zip \ | |
&& cd /usr/local/src/opencv-3.4.1/ \ | |
&& mkdir build \ | |
&& cd /usr/local/src/opencv-3.4.1/build \ | |
&& cmake -D CMAKE_INSTALL_TYPE=Release -D CMAKE_INSTALL_PREFIX=/usr/local/ .. \ | |
&& make -j4 \ | |
&& make install \ | |
&& rm -rf /usr/local/src/opencv-3.4.1 | |
RUN apt-get update && apt-get install -y \ | |
liblog4cxx-dev \ | |
libtinyxml-dev \ | |
libtinyxml2-dev \ | |
libeigen3-dev \ | |
python3-dev \ | |
python3-numpy \ | |
libboost-all-dev | |
RUN apt-get install -y symlinks && symlinks -cr /lib /etc /opt /usr | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment