Skip to content

Commit 7390b1c

Browse files
committed
Include onnxruntime_ep_c_api.h
1 parent a831347 commit 7390b1c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/gen_ort_dockerfile.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,8 @@ def dockerfile_for_linux(output_file):
379379
cp /workspace/onnxruntime/include/onnxruntime/core/session/onnxruntime_session_options_config_keys.h \
380380
/opt/onnxruntime/include && \
381381
cp /workspace/onnxruntime/include/onnxruntime/core/providers/cpu/cpu_provider_factory.h \
382-
/opt/onnxruntime/include
382+
/opt/onnxruntime/include \\
383+
&& /workspace/onnxruntime/include/onnxruntime/core/session/onnxruntime_ep_c_api.h /opt/onnxruntime/include
383384
384385
RUN mkdir -p /opt/onnxruntime/lib && \
385386
cp /workspace/build/${ONNXRUNTIME_BUILD_CONFIG}/libonnxruntime_providers_shared.so \

0 commit comments

Comments
 (0)