From 1db21da5aeb93a4b08a92a40566a0c630dc2641b Mon Sep 17 00:00:00 2001 From: sfatimar Date: Wed, 22 Sep 2021 04:27:28 +0530 Subject: [PATCH] Replaced onnx build with pypi installation (#9139) Co-authored-by: mayavijx --- dockerfiles/Dockerfile.openvino-csharp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dockerfiles/Dockerfile.openvino-csharp b/dockerfiles/Dockerfile.openvino-csharp index cbbf52483c..eec0d0934c 100644 --- a/dockerfiles/Dockerfile.openvino-csharp +++ b/dockerfiles/Dockerfile.openvino-csharp @@ -102,7 +102,7 @@ RUN apt update -y && \ cd ${MY_ROOT} && \ git clone --recursive -b ${ONNXRUNTIME_BRANCH} ${ONNXRUNTIME_REPO} && \ /bin/sh onnxruntime/dockerfiles/scripts/install_common_deps.sh && \ - cd onnxruntime/cmake/external/onnx && python3 setup.py install && \ + pip install onnx==1.9 && \ cd ${MY_ROOT}/onnxruntime && ./build.sh --config Release --update --build --parallel --use_openvino ${DEVICE} --build_nuget --build_shared_lib && \ mv ${MY_ROOT}/onnxruntime/build/Linux/Release/nuget-artifacts ${MY_ROOT} && \ # Clean-up unnecessary files