Skip to content

Commit 8310314

Browse files
committed
Restore installation of the missed package
1 parent f93de9d commit 8310314

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tools/gen_ort_dockerfile.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ def dockerfile_for_linux(output_file):
361361
RUN cp /workspace/onnxruntime/include/onnxruntime/core/providers/openvino/openvino_provider_factory.h \
362362
/opt/onnxruntime/include
363363
364-
RUN apt-get update && apt-get install -y --no-install-recommends libtbb2
364+
RUN apt-get update && apt-get install -y --no-install-recommends libtbb12
365365
366366
RUN cp /workspace/build/${ONNXRUNTIME_BUILD_CONFIG}/libonnxruntime_providers_openvino.so \
367367
/opt/onnxruntime/lib && \
@@ -374,7 +374,8 @@ def dockerfile_for_linux(output_file):
374374
cp ${INTEL_OPENVINO_DIR}/runtime/lib/intel64/libopenvino_ir_frontend.so.${ONNXRUNTIME_OPENVINO_VERSION} \
375375
/opt/onnxruntime/lib && \
376376
cp ${INTEL_OPENVINO_DIR}/runtime/lib/intel64/libopenvino_onnx_frontend.so.${ONNXRUNTIME_OPENVINO_VERSION} \
377-
/opt/onnxruntime/lib
377+
/opt/onnxruntime/lib && \
378+
cp /usr/lib/x86_64-linux-gnu/libtbb.so.* /opt/onnxruntime/lib
378379
379380
RUN OV_SHORT_VERSION=`echo ${ONNXRUNTIME_OPENVINO_VERSION} | awk '{ split($0,a,"."); print substr(a[1],3) a[2] a[3] }'` && \
380381
(cd /opt/onnxruntime/lib && \

0 commit comments

Comments
 (0)