"...git@developer.sourcefind.cn:tianlh/lightgbm-dcu.git" did not exist on "9f5fbb647920ed2f163fec68f3535ebbf7eaeea5"
Unverified Commit d7fcb3c2 authored by なるみ's avatar なるみ Committed by GitHub
Browse files

upgrade CMake in dockerfile-cli (fixes #6420) (#6426)

parent cd365e97
...@@ -8,7 +8,7 @@ ENV \ ...@@ -8,7 +8,7 @@ ENV \
RUN apt-get update -y && \ RUN apt-get update -y && \
apt-get install -y --no-install-recommends \ apt-get install -y --no-install-recommends \
ca-certificates \ ca-certificates \
cmake \ curl \
build-essential \ build-essential \
gcc \ gcc \
g++ \ g++ \
...@@ -16,12 +16,17 @@ RUN apt-get update -y && \ ...@@ -16,12 +16,17 @@ RUN apt-get update -y && \
libomp-dev && \ libomp-dev && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
RUN curl -L -o cmake.sh https://github.com/Kitware/CMake/releases/download/v3.29.2/cmake-3.29.2-linux-x86_64.sh && \
chmod +x cmake.sh && \
sh ./cmake.sh --prefix=/usr/local --skip-license && \
rm cmake.sh
RUN git clone \ RUN git clone \
--recursive \ --recursive \
--branch stable \ --branch stable \
--depth 1 \ --depth 1 \
https://github.com/Microsoft/LightGBM && \ https://github.com/Microsoft/LightGBM && \
cd ./Lightgbm && \ cd ./LightGBM && \
cmake -B build -S . && \ cmake -B build -S . && \
cmake --build build -j4 && \ cmake --build build -j4 && \
cmake --install build && \ cmake --install build && \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment