зеркало из https://github.com/microsoft/LightGBM.git
Родитель
cd365e974f
Коммит
d7fcb3c200
|
@ -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 && \
|
||||
|
|
Загрузка…
Ссылка в новой задаче