From 4a1ecd98798f24a2564b5eeb66b141aaac6d5cb7 Mon Sep 17 00:00:00 2001 From: "S. Manohar Karlapalem" Date: Sat, 27 Jun 2020 01:57:47 -0700 Subject: [PATCH] [OpenVINO] Upgrade OpenVINO docker base to Ubuntu 18.04 (#4346) * update deps installer to ov 2020.3 * Upgrade docker base to Ubuntu 18.04 --- dockerfiles/Dockerfile.openvino | 6 +++--- dockerfiles/README.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dockerfiles/Dockerfile.openvino b/dockerfiles/Dockerfile.openvino index 2995872053..ebc0fc4ffd 100644 --- a/dockerfiles/Dockerfile.openvino +++ b/dockerfiles/Dockerfile.openvino @@ -3,7 +3,7 @@ # Licensed under the MIT License. #-------------------------------------------------------------------------- -FROM ubuntu:16.04 +FROM ubuntu:18.04 ARG DEVICE=CPU_FP32 ARG ONNXRUNTIME_REPO=https://github.com/microsoft/onnxruntime @@ -30,7 +30,7 @@ ENV LANG en_US.UTF-8 RUN apt update && \ apt -y install git sudo wget locales \ - zip x11-apps lsb-core cpio libboost-python-dev libpng-dev zlib1g-dev libnuma1 ocl-icd-libopencl1 clinfo libboost-filesystem1.58.0 libboost-thread1.58.0 protobuf-compiler libprotoc-dev libusb-1.0-0-dev autoconf automake libtool libudev-dev libjson-c-dev && \ + zip x11-apps lsb-core cpio libboost-python-dev libpng-dev zlib1g-dev libnuma1 ocl-icd-libopencl1 clinfo libboost-filesystem1.65-dev libboost-thread1.65-dev protobuf-compiler libprotoc-dev libusb-1.0-0-dev autoconf automake libtool libudev-dev libjson-c-dev && \ cd ${MY_ROOT} && \ git clone --recursive -b $ONNXRUNTIME_BRANCH $ONNXRUNTIME_REPO onnxruntime && \ cp onnxruntime/docs/Privacy.md /code/Privacy.md && \ @@ -48,7 +48,7 @@ RUN apt update && \ ./install.sh -s silent.cfg && \ cd - && \ rm -rf l_openvino_toolkit* && \ - cd /opt/intel/openvino/install_dependencies && ./_install_all_dependencies.sh && dpkg -i *.deb && \ + cd /opt/intel/openvino/install_dependencies && ./install_openvino_dependencies.sh && ./install_NEO_OCL_driver.sh && dpkg -i *.deb && \ cd ${MY_ROOT} && \ locale-gen en_US.UTF-8 && update-locale LANG=en_US.UTF-8 && \ cd ${MY_ROOT} && \ diff --git a/dockerfiles/README.md b/dockerfiles/README.md index 40146da015..5fae32a3f2 100644 --- a/dockerfiles/README.md +++ b/dockerfiles/README.md @@ -110,7 +110,7 @@ Therefore, ONNX RT Execution Provider for **nGraph** will be deprecated starting ## OpenVINO *Public Preview* -**Ubuntu 16.04, Python Bindings** +**Ubuntu 18.04, Python Bindings** 1. Build the onnxruntime image for one of the accelerators supported below.