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 \
RUN apt-get update -y && \
apt-get install -y --no-install-recommends \
ca-certificates \
cmake \
curl \
build-essential \
gcc \
g++ \
......@@ -16,12 +16,17 @@ RUN apt-get update -y && \
libomp-dev && \
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 \
--recursive \
--branch stable \
--depth 1 \
https://github.com/Microsoft/LightGBM && \
cd ./Lightgbm && \
cd ./LightGBM && \
cmake -B build -S . && \
cmake --build build -j4 && \
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