Skip to content

Commit 9e07ad9

Browse files
MaajidKhansmkarlap
andauthored
[OpenVINO-EP 2021.4] Add/update Dockerfiles w.r.t OpenVINO 2021.4 Version (#8491)
* Implement multi-stage Dockerfile - Reduces image size from 2.3 GB to 1.46 GB. - Uses Ubuntu based OpenVINO image as base image leading to fewer required instructions - Does not include unnecessary build time components in deploy image * Remove wget after usage * Uninstall wget in the same RUN statement Avoids re-distributing wget package in any of the layers * Update License header according to Intel guidelines Updated the license header according to Intel corporate guidelines. * Use Ubuntu18's default Python3 Don't install Miniconda and use the default Python3 provided by the base Ubuntu 18 OS. * OpenVINO EP with CentOS7 Dockefile to build ONNX RT with OpenVINO EP with a CentOS 7 base. * Dockerfile documentation changes Updated documentation to show the latest docker image location and usage details. * updated ov-ep doc link * Temporarily disabling VAD-M due to regression * fix for vad-m daemon config setting * Revert "Temporarily disabling VAD-M due to regression" This reverts commit c503bea. VAD-M issue fixed. this is no longer needed * Revert "Revert "Temporarily disabling VAD-M due to regression"" This reverts commit 7ca53fe. * Revert "fix for vad-m daemon config setting" This reverts commit 9964f84. * Ubuntu Dockerfile update w.r.t 2021.4 This dockerfile uses openvino 2021.4 runtime base image from OpenVINO. uses onnxruntime 1.8 release branch to generate the image. Added fix for VADM HDDL Signed-off-by: MaajidKhan <[email protected]> * Added new dependency in deploy stage Added sources for all the dependency packages of unattended-upgrades package which had GPL license into deploy stage. Signed-off-by: MaajidKhan <[email protected]> * Updated CentOS Dockerfile to the latest 2021.4 -Dockerfile updated -VADM Fix added Signed-off-by: MaajidKhan <[email protected]> * Updated c# openvino dockerfile w.r.t 2021.4 Signed-off-by: MaajidKhan <[email protected]> * Updated the ubuntu dockefile branch and repo Signed-off-by: MaajidKhan <[email protected]> * Updated Dockerfile Documentation w.r.t 2021.4 Signed-off-by: MaajidKhan <[email protected]> * Updated GCC version to 10 for centos dockerfile Signed-off-by: MaajidKhan <[email protected]> Co-authored-by: S. Manohar Karlapalem <[email protected]>
1 parent 7176277 commit 9e07ad9

File tree

4 files changed

+165
-91
lines changed

4 files changed

+165
-91
lines changed

dockerfiles/Dockerfile.openvino

Lines changed: 49 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -1,92 +1,64 @@
11
#-------------------------------------------------------------------------
2-
# Copyright(C) 2019 Intel Corporation.
3-
# Licensed under the MIT License.
2+
# Copyright(C) 2021 Intel Corporation.
3+
# SPDX-License-Identifier: MIT
44
#--------------------------------------------------------------------------
55

6-
FROM ubuntu:18.04
6+
ARG OPENVINO_VERSION=2021.4
77

8-
ARG DEVICE=CPU_FP32
8+
# Build stage
9+
FROM openvino/ubuntu18_runtime:${OPENVINO_VERSION} AS builder
10+
11+
ENV WORKDIR_PATH=/home/openvino
12+
WORKDIR $WORKDIR_PATH
13+
ENV DEBIAN_FRONTEND noninteractive
14+
15+
ARG DEVICE=CPU_FP32
916
ARG ONNXRUNTIME_REPO=https://github.com/microsoft/onnxruntime.git
1017
ARG ONNXRUNTIME_BRANCH=master
1118

12-
WORKDIR /code
13-
ARG MY_ROOT=/code
14-
1519
ENV PATH /opt/miniconda/bin:/code/cmake-3.21.0-linux-x86_64/bin:$PATH
1620
ENV LD_LIBRARY_PATH=/opt/miniconda/lib:/usr/lib:/usr/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH
1721

18-
ENV INTEL_OPENVINO_DIR=/opt/intel/openvino_2021.3.394
1922
ENV InferenceEngine_DIR=${INTEL_OPENVINO_DIR}/deployment_tools/inference_engine/share
20-
ENV IE_PLUGINS_PATH=${INTEL_OPENVINO_DIR}/deployment_tools/inference_engine/lib/intel64
21-
ENV LD_LIBRARY_PATH=/opt/intel/opencl:${INTEL_OPENVINO_DIR}/inference_engine/external/gna/lib:${INTEL_OPENVINO_DIR}/deployment_tools/inference_engine/external/mkltiny_lnx/lib:$INTEL_OPENVINO_DIR/deployment_tools/ngraph/lib:${INTEL_OPENVINO_DIR}/deployment_tools/inference_engine/external/omp/lib:${INTEL_OPENVINO_DIR}/deployment_tools/inference_engine/external/tbb/lib:${IE_PLUGINS_PATH}:${LD_LIBRARY_PATH}
22-
ENV OpenCV_DIR=${INTEL_OPENVINO_DIR}/opencv/share/OpenCV
23-
ENV LD_LIBRARY_PATH=${INTEL_OPENVINO_DIR}/opencv/lib:${INTEL_OPENVINO_DIR}/opencv/share/OpenCV/3rdparty/lib:${LD_LIBRARY_PATH}
24-
ENV HDDL_INSTALL_DIR=${INTEL_OPENVINO_DIR}/deployment_tools/inference_engine/external/hddl
25-
ENV LD_LIBRARY_PATH=${INTEL_OPENVINO_DIR}/deployment_tools/inference_engine/external/hddl/lib:$LD_LIBRARY_PATH
2623
ENV ngraph_DIR=${INTEL_OPENVINO_DIR}/deployment_tools/ngraph/cmake
27-
ENV LANG en_US.UTF-8
28-
ENV DEBIAN_FRONTEND=noninteractive
2924

25+
USER root
26+
RUN apt update; apt install -y git protobuf-compiler libprotobuf-dev
27+
RUN git clone --recursive -b ${ONNXRUNTIME_BRANCH} ${ONNXRUNTIME_REPO}
28+
RUN /bin/sh onnxruntime/dockerfiles/scripts/install_common_deps.sh
29+
RUN ln -s cmake-* cmake-dir
30+
RUN python3 -m pip install wheel
31+
ENV PATH=${WORKDIR_PATH}/cmake-dir/bin:$PATH
32+
RUN cd onnxruntime/cmake/external/onnx && python3 setup.py install
33+
RUN cd onnxruntime && ./build.sh --config Release --update --build --parallel --use_openvino ${DEVICE} --build_shared_lib --build_wheel
3034

35+
#Steps to download sources
36+
RUN cat /etc/apt/sources.list | sed 's/^# deb-src/deb-src/g' > ./temp; mv temp /etc/apt/sources.list
37+
RUN apt update; apt install dpkg-dev
38+
RUN mkdir /sources
39+
WORKDIR /sources
40+
RUN apt-get source cron iso-codes libapt-inst2.0 lsb-release powermgmt-base python-apt-common python3-apt python3-dbus python3-gi unattended-upgrades libapt-pkg5.0 libhogweed4 libnettle6
41+
WORKDIR /
42+
RUN tar cvf GPL_sources.tar.gz /sources
3143

32-
RUN apt update && apt -y install --no-install-recommends apt-transport-https ca-certificates gnupg python3 python3-pip udev unzip zip x11-apps lsb-core wget curl cpio sudo libboost-python-dev libpng-dev zlib1g-dev git libnuma1 ocl-icd-libopencl1 clinfo libboost-filesystem1.65-dev libboost-thread1.65-dev protobuf-compiler libprotoc-dev autoconf automake libtool libjson-c-dev unattended-upgrades && \
33-
unattended-upgrade && \
34-
rm -rf /var/lib/apt/lists/* && \
35-
cd /opt && \
36-
# libusb1.0.22
37-
curl -L https://github.com/libusb/libusb/archive/v1.0.22.zip --output v1.0.22.zip && \
38-
unzip v1.0.22.zip && \
39-
cd /opt/libusb-1.0.22 && \
40-
# bootstrap steps
41-
./bootstrap.sh && \
42-
./configure --disable-udev --enable-shared && \
43-
make -j4 && \
44-
cd /opt/libusb-1.0.22/libusb && \
45-
# configure libusb1.0.22
46-
/bin/mkdir -p '/usr/local/lib' && \
47-
/bin/bash ../libtool --mode=install /usr/bin/install -c libusb-1.0.la '/usr/local/lib' && \
48-
/bin/mkdir -p '/usr/local/include/libusb-1.0' && \
49-
/usr/bin/install -c -m 644 libusb.h '/usr/local/include/libusb-1.0' && \
50-
/bin/mkdir -p '/usr/local/lib/pkgconfig' && \
51-
# Install OpenVINO
52-
cd ${MY_ROOT} && \
53-
wget https://apt.repos.intel.com/openvino/2021/GPG-PUB-KEY-INTEL-OPENVINO-2021 && \
54-
apt-key add GPG-PUB-KEY-INTEL-OPENVINO-2021 && rm GPG-PUB-KEY-INTEL-OPENVINO-2021 && \
55-
cd /etc/apt/sources.list.d && \
56-
echo "deb https://apt.repos.intel.com/openvino/2021 all main">intel-openvino-2021.list && \
57-
apt update && \
58-
apt -y install intel-openvino-dev-ubuntu18-2021.3.394 && \
59-
cd ${INTEL_OPENVINO_DIR}/install_dependencies && ./install_openvino_dependencies.sh -y && \
60-
cd ${INTEL_OPENVINO_DIR} && rm -rf documentation data_processing && cd deployment_tools/ && rm -rf model_optimizer tools open_model_zoo demo && cd inference_engine && rm -rf samples && \
61-
cd /opt/libusb-1.0.22/ && \
62-
/usr/bin/install -c -m 644 libusb-1.0.pc '/usr/local/lib/pkgconfig' && \
63-
cp /opt/intel/openvino_2021/deployment_tools/inference_engine/external/97-myriad-usbboot.rules /etc/udev/rules.d/ && \
64-
ldconfig && \
65-
# Install GPU runtime and drivers
66-
cd ${MY_ROOT} && \
67-
mkdir /tmp/opencl && \
68-
cd /tmp/opencl && \
69-
apt update && \
70-
apt install -y --no-install-recommends ocl-icd-libopencl1 && \
71-
rm -rf /var/lib/apt/lists/* && \
72-
wget "https://github.com/intel/compute-runtime/releases/download/19.41.14441/intel-gmmlib_19.3.2_amd64.deb" && \
73-
wget "https://github.com/intel/compute-runtime/releases/download/19.41.14441/intel-igc-core_1.0.2597_amd64.deb" && \
74-
wget "https://github.com/intel/compute-runtime/releases/download/19.41.14441/intel-igc-opencl_1.0.2597_amd64.deb" && \
75-
wget "https://github.com/intel/compute-runtime/releases/download/19.41.14441/intel-opencl_19.41.14441_amd64.deb" && \
76-
wget "https://github.com/intel/compute-runtime/releases/download/19.41.14441/intel-ocloc_19.41.14441_amd64.deb" && \
77-
dpkg -i /tmp/opencl/*.deb && \
78-
ldconfig && \
79-
rm -rf /tmp/opencl && \
80-
cd ${MY_ROOT} && \
81-
locale-gen en_US.UTF-8 && update-locale LANG=en_US.UTF-8 && \
82-
pip3 install cython && \
83-
# Download and build ONNX Runtime
84-
cd ${MY_ROOT} && \
85-
git clone --recursive -b ${ONNXRUNTIME_BRANCH} ${ONNXRUNTIME_REPO} && \
86-
/bin/sh onnxruntime/dockerfiles/scripts/install_common_deps.sh && \
87-
cd onnxruntime/cmake/external/onnx && python3 setup.py install && \
88-
cd ${MY_ROOT}/onnxruntime && ./build.sh --config Release --update --build --parallel --use_openvino ${DEVICE} --build_shared_lib --build_wheel && \
89-
pip install build/Linux/Release/dist/*-linux_x86_64.whl && \
90-
cd ${MY_ROOT}/ && rm -rf onnxruntime && cd /opt && rm -rf v1.0.22.zip && cd ${MY_ROOT} &&\
91-
apt remove -y cmake && cd /usr/share/python-wheels/ && rm -rf *.whl &&\
92-
cd /usr/lib/ && rm -rf python2.7 python3.6 python3.8 && cd && rm -rf .cache
44+
# Deploy stage
45+
FROM openvino/ubuntu18_runtime:${OPENVINO_VERSION}
46+
47+
ENV DEBIAN_FRONTEND noninteractive
48+
49+
USER root
50+
COPY --from=builder /home/openvino/onnxruntime/build/Linux/Release/dist/*.whl ./
51+
COPY --from=builder /GPL_sources.tar.gz ./
52+
RUN python3 -m pip install ./*.whl && rm ./*.whl
53+
RUN apt update; apt install -y unattended-upgrades && \
54+
unattended-upgrade
55+
ARG BUILD_UID=1001
56+
ARG BUILD_USER=onnxruntimedev
57+
RUN adduser --uid $BUILD_UID $BUILD_USER
58+
ENV WORKDIR_PATH /home/${BUILD_USER}
59+
WORKDIR ${WORKDIR_PATH}
60+
61+
USER ${BUILD_USER}
62+
ENV PATH=${WORKDIR_PATH}/miniconda/bin:${WORKDIR_PATH}/cmake-dir/bin:$PATH
63+
ENV IE_PLUGINS_PATH=${INTEL_OPENVINO_DIR}/deployment_tools/inference_engine/lib/intel64
64+
ENV LD_LIBRARY_PATH=/opt/intel/opencl:${INTEL_OPENVINO_DIR}/inference_engine/external/gna/lib:${INTEL_OPENVINO_DIR}/deployment_tools/inference_engine/external/mkltiny_lnx/lib:$INTEL_OPENVINO_DIR/deployment_tools/ngraph/lib:${INTEL_OPENVINO_DIR}/deployment_tools/inference_engine/external/omp/lib:${INTEL_OPENVINO_DIR}/deployment_tools/inference_engine/external/tbb/lib:${IE_PLUGINS_PATH}:${LD_LIBRARY_PATH}
Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
#-------------------------------------------------------------------------
2+
# Copyright(C) 2021 Intel Corporation.
3+
# SPDX-License-Identifier: MIT
4+
#--------------------------------------------------------------------------
5+
6+
FROM centos:7.8.2003
7+
8+
WORKDIR /code
9+
10+
ARG MY_ROOT=/code
11+
ARG YUM_OV_PACKAGE=intel-openvino-runtime-centos7-2021.4.582.x86_64
12+
ARG DEVICE=CPU_FP32
13+
ARG ONNXRUNTIME_REPO=https://github.com/microsoft/onnxruntime
14+
ARG ONNXRUNTIME_BRANCH=master
15+
16+
ENV INTEL_OPENVINO_DIR=/opt/intel/openvino_2021.4.582
17+
ENV InferenceEngine_DIR=${INTEL_OPENVINO_DIR}/deployment_tools/inference_engine/share
18+
ENV IE_PLUGINS_PATH=${INTEL_OPENVINO_DIR}/deployment_tools/inference_engine/lib/intel64
19+
ENV ngraph_DIR=${INTEL_OPENVINO_DIR}/deployment_tools/ngraph/cmake
20+
ENV LD_LIBRARY_PATH=/opt/intel/opencl:${INTEL_OPENVINO_DIR}/inference_engine/external/gna/lib:${INTEL_OPENVINO_DIR}/deployment_tools/inference_engine/external/mkltiny_lnx/lib:$INTEL_OPENVINO_DIR/deployment_tools/ngraph/lib:${INTEL_OPENVINO_DIR}/deployment_tools/inference_engine/external/omp/lib:${INTEL_OPENVINO_DIR}/deployment_tools/inference_engine/external/tbb/lib:${IE_PLUGINS_PATH}:${LD_LIBRARY_PATH}
21+
ENV OpenCV_DIR=${INTEL_OPENVINO_DIR}/opencv/share/OpenCV
22+
ENV LD_LIBRARY_PATH=${INTEL_OPENVINO_DIR}/opencv/lib:${INTEL_OPENVINO_DIR}/opencv/share/OpenCV/3rdparty/lib:${LD_LIBRARY_PATH}
23+
ENV HDDL_INSTALL_DIR=${INTEL_OPENVINO_DIR}/deployment_tools/inference_engine/external/hddl
24+
ENV LD_LIBRARY_PATH=${INTEL_OPENVINO_DIR}/deployment_tools/inference_engine/external/hddl/lib:$LD_LIBRARY_PATH
25+
ENV LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/usr/local/lib64:/usr/lib64:/lib64:$LD_LIBRARY_PATH
26+
27+
# Install packages
28+
RUN yum update -y && \
29+
yum groupinstall "Development Tools" -y && \
30+
yum install -y yum-utils autoconf automake libtool unzip udev wget zlib-devel libffi-devel openssl-devel boost-devel-1.53.0 && \
31+
yum clean packages && yum clean all && rm -rf /var/cache/yum && \
32+
# Install cmake
33+
cd $MY_ROOT && \
34+
wget https://github.com/Kitware/CMake/releases/download/v3.18.6/cmake-3.18.6.tar.gz && \
35+
tar -zxvf cmake-3.18.6.tar.gz && rm -rf cmake-3.18.6.tar.gz && \
36+
cd cmake-3.18.6 && \
37+
./bootstrap && \
38+
make && \
39+
make install && \
40+
cd $MY_ROOT && \
41+
# libusb1.0.22
42+
cd /opt/ && wget https://github.com/libusb/libusb/archive/v1.0.22.zip && \
43+
unzip v1.0.22.zip && rm -rf v1.0.22.zip && cd /opt/libusb-1.0.22 && \
44+
# bootstrap steps
45+
./bootstrap.sh && \
46+
./configure --disable-udev --enable-shared && \
47+
make -j4 && \
48+
# configure libusb1.0.22
49+
cd /opt/libusb-1.0.22/libusb && \
50+
/bin/mkdir -p '/usr/local/lib' && \
51+
/bin/bash ../libtool --mode=install /usr/bin/install -c libusb-1.0.la '/usr/local/lib' && \
52+
/bin/mkdir -p '/usr/local/include/libusb-1.0' && \
53+
/usr/bin/install -c -m 644 libusb.h '/usr/local/include/libusb-1.0' && \
54+
/bin/mkdir -p '/usr/local/lib/pkgconfig' && \
55+
# Install openvino
56+
yum-config-manager --add-repo https://yum.repos.intel.com/openvino/2021/setup/intel-openvino-2021.repo && \
57+
rpm --import https://yum.repos.intel.com/openvino/2021/setup/RPM-GPG-KEY-INTEL-OPENVINO-2021 && \
58+
yum update -y && yum list intel-openvino* && \
59+
yum install -y $YUM_OV_PACKAGE && \
60+
cd ${INTEL_OPENVINO_DIR}/install_dependencies/ && ./install_openvino_dependencies.sh -y && \
61+
printf "\nexport LD_LIBRARY_PATH=\${LD_LIBRARY_PATH}:/usr/local/lib\n" >> /opt/intel/openvino_2021.4.582/bin/setupvars.sh && \
62+
cd /opt/libusb-1.0.22 && \
63+
/usr/bin/install -c -m 644 libusb-1.0.pc '/usr/local/lib/pkgconfig' && \
64+
cp /opt/intel/openvino_2021/deployment_tools/inference_engine/external/97-myriad-usbboot.rules /etc/udev/rules.d/ && \
65+
ldconfig && \
66+
# Install GPU runtime and drivers
67+
cd ${MY_ROOT} && \
68+
mkdir /tmp/opencl && \
69+
cd /tmp/opencl && \
70+
yum install -y epel-release && \
71+
yum install -y ocl-icd ocl-icd-devel && \
72+
wget -O intel-igc-core-1.0.2597-1.el7.x86_64.rpm https://sourceforge.net/projects/intel-compute-runtime/files/19.41.14441/centos-7/intel-igc-core-1.0.2597-1.el7.x86_64.rpm/download && \
73+
wget -O intel-opencl-19.41.14441-1.el7.x86_64.rpm https://sourceforge.net/projects/intel-compute-runtime/files/19.41.14441/centos-7/intel-opencl-19.41.14441-1.el7.x86_64.rpm/download && \
74+
wget -O intel-igc-opencl-devel-1.0.2597-1.el7.x86_64.rpm https://sourceforge.net/projects/intel-compute-runtime/files/19.41.14441/centos-7/intel-igc-opencl-devel-1.0.2597-1.el7.x86_64.rpm/download && \
75+
wget -O intel-igc-opencl-1.0.2597-1.el7.x86_64.rpm https://sourceforge.net/projects/intel-compute-runtime/files/19.41.14441/centos-7/intel-igc-opencl-1.0.2597-1.el7.x86_64.rpm/download && \
76+
wget -O intel-gmmlib-19.3.2-1.el7.x86_64.rpm https://sourceforge.net/projects/intel-compute-runtime/files/19.41.14441/centos-7/intel-gmmlib-19.3.2-1.el7.x86_64.rpm/download && \
77+
wget -O intel-gmmlib-devel-19.3.2-1.el7.x86_64.rpm https://sourceforge.net/projects/intel-compute-runtime/files/19.41.14441/centos-7/intel-gmmlib-devel-19.3.2-1.el7.x86_64.rpm/download && \
78+
rpm -i /tmp/opencl/*.rpm && \
79+
ldconfig && \
80+
rm -rf /tmp/opencl && \
81+
# Installing gcc-10
82+
yum install -y centos-release-scl && \
83+
yum install -y devtoolset-10-gcc* && \
84+
echo 'source scl_source enable devtoolset-10' >> ~/.bashrc && \
85+
# python installation
86+
source scl_source enable devtoolset-10 && \
87+
cd /code/ && \
88+
wget https://www.python.org/ftp/python/3.8.3/Python-3.8.3.tgz && tar xvf Python-3.8.3.tgz && \
89+
cd Python-3.8*/ && ./configure && make && make install && \
90+
cd ../ && mkdir -p /usr/bin/Python38 && ln -s Python-3.8.3/ /usr/bin/Python38 && \
91+
# installing dependancies
92+
yum install -y python3-lxml python3-six libusb.x86_64 && \
93+
yum clean packages && yum clean all && rm -rf /var/cache/yum && \
94+
# Build onnxruntime
95+
cd $MY_ROOT && \
96+
pip3 install numpy wheel setuptools cython && \
97+
git clone --recursive -b ${ONNXRUNTIME_BRANCH} ${ONNXRUNTIME_REPO} && \
98+
pip3 install onnx && \
99+
cd /code/onnxruntime && ./build.sh --config Release --update --build --parallel --use_openvino ${DEVICE} --build_shared_lib --build_wheel && \
100+
pip3 install /code/onnxruntime/build/Linux/Release/dist/*-linux_x86_64.whl && \
101+
# Clean up
102+
cd $MY_ROOT && rm -rf onnxruntime Python-3* && \
103+
cd ${MY_ROOT}/ && rm -rf cmake* && \
104+
cd /usr/share/ && rm -rf gcc* && cd /usr/lib/ && rm -rf gcc cd && rm -rf .cache && \
105+
cd ${INTEL_OPENVINO_DIR}/ && rm -rf documentation data_processing && cd deployment_tools/ && rm -rf tools

dockerfiles/Dockerfile.openvino-csharp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ARG MY_ROOT=/code
1515
ENV PATH /opt/miniconda/bin:/code/cmake-3.21.0-linux-x86_64/bin:$PATH
1616
ENV LD_LIBRARY_PATH=/opt/miniconda/lib:/usr/lib:/usr/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH
1717

18-
ENV INTEL_OPENVINO_DIR=/opt/intel/openvino_2021.3.394
18+
ENV INTEL_OPENVINO_DIR=/opt/intel/openvino_2021.4.582
1919
ENV InferenceEngine_DIR=${INTEL_OPENVINO_DIR}/deployment_tools/inference_engine/share
2020
ENV IE_PLUGINS_PATH=${INTEL_OPENVINO_DIR}/deployment_tools/inference_engine/lib/intel64
2121
ENV LD_LIBRARY_PATH=/opt/intel/opencl:${INTEL_OPENVINO_DIR}/inference_engine/external/gna/lib:${INTEL_OPENVINO_DIR}/deployment_tools/inference_engine/external/mkltiny_lnx/lib:$INTEL_OPENVINO_DIR/deployment_tools/ngraph/lib:${INTEL_OPENVINO_DIR}/deployment_tools/inference_engine/external/omp/lib:${INTEL_OPENVINO_DIR}/deployment_tools/inference_engine/external/tbb/lib:${IE_PLUGINS_PATH}:${LD_LIBRARY_PATH}
@@ -54,7 +54,7 @@ RUN apt update -y && \
5454
cd /etc/apt/sources.list.d && \
5555
echo "deb https://apt.repos.intel.com/openvino/2021 all main">intel-openvino-2021.list && \
5656
apt update -y && \
57-
apt -y install intel-openvino-dev-ubuntu18-2021.3.394 && \
57+
apt -y install intel-openvino-dev-ubuntu18-2021.4.582 && \
5858
cd ${INTEL_OPENVINO_DIR}/install_dependencies && ./install_openvino_dependencies.sh -y && \
5959
cd ${INTEL_OPENVINO_DIR} && rm -rf documentation data_processing && \
6060
cd deployment_tools/ && rm -rf model_optimizer open_model_zoo demo tools && \
@@ -112,4 +112,4 @@ RUN apt update -y && \
112112
apt remove -y git && apt autoremove -y && apt remove -y cmake && \
113113
cd /usr/lib/ && rm -rf python2.7 python3.7 python3.8 && \
114114
cd && rm -rf .cache && \
115-
cd /usr/share/python-wheels/ && rm -rf *.whl
115+
cd /usr/share/python-wheels/ && rm -rf *.whl

0 commit comments

Comments
 (0)