diff --git a/docker/dockerfile-cli b/docker/dockerfile-cli index 51e7bd962..63c3e1f3d 100644 --- a/docker/dockerfile-cli +++ b/docker/dockerfile-cli @@ -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 && \