Updates ARMv7 Dockerfile to use newer CMake (#1017)

This commit is contained in:
tmccrmck 2019-05-14 13:33:44 -07:00 committed by Changming Sun
parent f5dfde33d0
commit cb25fd4d8a

View file

@ -23,10 +23,10 @@ RUN pip3 install numpy
# Build the latest cmake
WORKDIR /code
RUN wget https://cmake.org/files/v3.12/cmake-3.12.3.tar.gz;
RUN tar zxf cmake-3.12.3.tar.gz
RUN wget https://github.com/Kitware/CMake/releases/download/v3.14.3/cmake-3.14.3.tar.gz
RUN tar zxf cmake-3.14.3.tar.gz
WORKDIR /code/cmake-3.12.3
WORKDIR /code/cmake-3.14.3
RUN ./configure --system-curl
RUN make
RUN sudo make install
@ -53,4 +53,4 @@ RUN ./build.sh ${BUILDARGS} --enable_pybind --build_wheel
RUN ls -l /code/onnxruntime/build/Linux/${BUILDTYPE}/*.so
RUN ls -l /code/onnxruntime/build/Linux/${BUILDTYPE}/dist/*.whl
RUN [ "cross-build-end" ]
RUN [ "cross-build-end" ]