mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-30 03:37:44 +00:00
Update onnxruntime server docker file with ONNXRUNTIME_VERSION in cmake files (#1259)
This commit is contained in:
parent
3275e44c62
commit
3b71701f91
1 changed files with 2 additions and 2 deletions
|
|
@ -2,7 +2,7 @@
|
|||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
# Licensed under the MIT License.
|
||||
#--------------------------------------------------------------------------
|
||||
# Official user quickstart docker container for ONNX Runtime CPU
|
||||
# Official docker container for ONNX Runtime Server
|
||||
# Ubuntu 16.04, CPU version, Python 3.
|
||||
#--------------------------------------------------------------------------
|
||||
|
||||
|
|
@ -25,7 +25,7 @@ RUN /onnxruntime/tools/ci_build/github/linux/docker/scripts/install_ubuntu.sh -p
|
|||
|
||||
WORKDIR /
|
||||
RUN mkdir -p /onnxruntime/build && \
|
||||
python3 /onnxruntime/tools/ci_build/build.py --build_dir /onnxruntime/build --config Release --build_server
|
||||
python3 /onnxruntime/tools/ci_build/build.py --build_dir /onnxruntime/build --config Release --build_server --cmake_extra_defines ONNXRUNTIME_VERSION=$(cat ./VERSION_NUMBER)
|
||||
|
||||
FROM minimal AS final
|
||||
WORKDIR /onnxruntime/server/
|
||||
|
|
|
|||
Loading…
Reference in a new issue