FROM rocker/verse:latest WORKDIR /lgbm RUN apt-get update && \ apt-get install -y build-essential && \ git clone --recursive --branch stable --depth 1 https://github.com/Microsoft/LightGBM && \ cd LightGBM && \ Rscript build_r.R