Created
July 29, 2020 11:03
-
-
Save ahmetanbar/c6807a5b4a9baf84b79e6fa6fde07ef1 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
FROM ubuntu:18.04 | |
USER root | |
WORKDIR / | |
ENV INSTALLDIR /opt/intel/openvino | |
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/* | |
ARG DOWNLOAD_LINK=http://registrationcenter-download.intel.com/akdlm/irc_nas/13231/l_openvino_toolkit_p_2019.0.000.tgz | |
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