Skip to content

Commit f77f735

Browse files
committed
hardcoding sym link library reference for ONNX
1 parent c5c0cc8 commit f77f735

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
@@ -383,7 +383,8 @@ def dockerfile_for_linux(output_file):
383383
# Linking compiled ONNX Runtime libraries to their corresponding versioned libraries
384384
df += """
385385
RUN cd /opt/onnxruntime/lib \
386-
&& ln -s libonnxruntime.so libonnxruntime.so.${ONNXRUNTIME_VERSION}
386+
&& ln -s libonnxruntime.so libonnxruntime.so.1 \
387+
&& ln -s libonnxruntime.so.1 libonnxruntime.so.${ONNXRUNTIME_VERSION}
387388
"""
388389
df += """
389390
RUN cd /opt/onnxruntime/lib && \

0 commit comments

Comments
 (0)