mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-29 20:14:01 +00:00
Fix ORTSRV docker build (#2160)
* Fix ORTSRV docker build * More Dockerfile changes
This commit is contained in:
parent
00e2d1c604
commit
2bf1778a5c
3 changed files with 3 additions and 3 deletions
|
|
@ -17,7 +17,7 @@ RUN apt-get update && \
|
|||
ENV PATH="/opt/cmake/bin:${PATH}"
|
||||
RUN git clone --single-branch --branch ${ONNXRUNTIME_SERVER_BRANCH} --recursive ${ONNXRUNTIME_REPO} onnxruntime
|
||||
RUN /onnxruntime/tools/ci_build/github/linux/docker/scripts/install_ubuntu.sh -p ${PYTHON_VERSION} && \
|
||||
/onnxruntime/tools/ci_build/github/linux/docker/scripts/install_deps.sh
|
||||
/onnxruntime/tools/ci_build/github/linux/docker/scripts/install_deps.sh -p ${PYTHON_VERSION}
|
||||
|
||||
WORKDIR /
|
||||
RUN mkdir -p /onnxruntime/build && \
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ RUN apt-get update && \
|
|||
ENV PATH="/opt/cmake/bin:${PATH}"
|
||||
RUN git clone --single-branch --branch ${ONNXRUNTIME_SERVER_BRANCH} --recursive ${ONNXRUNTIME_REPO} onnxruntime
|
||||
RUN /onnxruntime/tools/ci_build/github/linux/docker/scripts/install_ubuntu.sh -p ${PYTHON_VERSION} && \
|
||||
/onnxruntime/tools/ci_build/github/linux/docker/scripts/install_deps.sh
|
||||
/onnxruntime/tools/ci_build/github/linux/docker/scripts/install_deps.sh -p ${PYTHON_VERSION}
|
||||
|
||||
WORKDIR /
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ RUN apt-get update && \
|
|||
ENV PATH="/opt/cmake/bin:${PATH}"
|
||||
RUN git clone --single-branch --branch ${ONNXRUNTIME_SERVER_BRANCH} --recursive ${ONNXRUNTIME_REPO} onnxruntime
|
||||
RUN /onnxruntime/tools/ci_build/github/linux/docker/scripts/install_ubuntu.sh -p ${PYTHON_VERSION} && \
|
||||
/onnxruntime/tools/ci_build/github/linux/docker/scripts/install_deps.sh && \
|
||||
/onnxruntime/tools/ci_build/github/linux/docker/scripts/install_deps.sh -p ${PYTHON_VERSION} && \
|
||||
/onnxruntime/tools/ci_build/github/linux/docker/scripts/install_server_deps.sh
|
||||
|
||||
ENV PATH="/usr/local/go/bin:${PATH}"
|
||||
|
|
|
|||
Loading…
Reference in a new issue