Skip to content

Commit 4f1fd64

Browse files
authored
Merge branch 'mchornyi/24.11/before-code-freeze' into anants-ubuntu-upgrade
2 parents 07f8c06 + 2828367 commit 4f1fd64

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tools/gen_ort_dockerfile.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,8 @@ 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
365+
364366
RUN cp /workspace/build/${ONNXRUNTIME_BUILD_CONFIG}/libonnxruntime_providers_openvino.so \
365367
/opt/onnxruntime/lib && \
366368
cp ${INTEL_OPENVINO_DIR}/runtime/lib/intel64/libopenvino.so.${ONNXRUNTIME_OPENVINO_VERSION} \
@@ -447,7 +449,7 @@ def dockerfile_for_windows(output_file):
447449
ARG ONNXRUNTIME_VERSION
448450
ARG ONNXRUNTIME_REPO
449451
RUN git clone -b rel-%ONNXRUNTIME_VERSION% --recursive %ONNXRUNTIME_REPO% onnxruntime && \
450-
(cd onnxruntime && git submodule update --init --recursive)
452+
cd onnxruntime && git submodule update --init --recursive
451453
"""
452454

453455
if FLAGS.onnx_tensorrt_tag != "":
@@ -661,4 +663,4 @@ def preprocess_gpu_flags():
661663
FLAGS.ort_openvino = None
662664
dockerfile_for_windows(FLAGS.output)
663665
else:
664-
dockerfile_for_linux(FLAGS.output)
666+
dockerfile_for_linux(FLAGS.output)

0 commit comments

Comments
 (0)