dockerfile-cli 402 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM ubuntu:16.04

RUN apt-get update && \
    apt-get install -y cmake build-essential gcc g++ git && \
    rm -rf /var/lib/apt/lists/*

RUN git clone --recursive --branch stable https://github.com/Microsoft/LightGBM && \
    mkdir LightGBM/build && \
    cd LightGBM/build && \
    cmake .. && \
    make -j4 && \
    make install && \
    cd ../.. && \
    rm -rf LightGBM 

ENTRYPOINT ["lightgbm"]