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