Last active
August 20, 2020 14:30
-
-
Save kndt84/b94d38778423207f45e8b865f7ebccd8 to your computer and use it in GitHub Desktop.
Docker file of OpenVINO™ toolkit 2020 R1
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:18.04 | |
USER root | |
ENV INSTALLDIR /opt/intel/openvino | |
ARG DOWNLOAD_LINK=http://registrationcenter-download.intel.com/akdlm/irc_nas/16345/l_openvino_toolkit_p_2020.1.023.tgz | |
WORKDIR / | |
RUN useradd -ms /bin/bash openvino && \ | |
chown openvino -R /home/openvino | |
ARG DEPENDENCIES="autoconf \ | |
automake \ | |
build-essential \ | |
cmake \ | |
cpio \ | |
curl \ | |
gnupg2 \ | |
libdrm2 \ | |
libglib2.0-0 \ | |
lsb-release \ | |
libgtk-3-0 \ | |
libtool \ | |
python3-pip \ | |
udev \ | |
unzip" | |
RUN apt-get update && \ | |
apt-get install -y --no-install-recommends ${DEPENDENCIES} && \ | |
rm -rf /var/lib/apt/lists/* | |
WORKDIR /tmp | |
RUN curl -LOJ "${DOWNLOAD_LINK}" && \ | |
tar -xzf ./*.tgz && \ | |
cd l_openvino_toolkit* && \ | |
sed -i 's/decline/accept/g' silent.cfg && \ | |
./install.sh -s silent.cfg && \ | |
rm -rf /tmp/* && \ | |
$INSTALLDIR/install_dependencies/install_openvino_dependencies.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Original document is imcomplete and correct it.
Reference
https://docs.openvinotoolkit.org/latest/_docs_install_guides_installing_openvino_docker_linux.html