Created
August 15, 2018 20:29
-
-
Save vernomcrp/4964041b01851439a32590ae716ef90b to your computer and use it in GitHub Desktop.
xgboost base
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM python:3.6.6-slim AS base | |
| FUN apt-get update && apt-get install -y build-essential git | |
| RUN mkdir src && cd src | |
| WORKDIR src | |
| RUN git clone --recursive https://github.com/dmlc/xgboost && \ | |
| sed -i '/#define DMLC_LOG_STACK_TRACE 1/d' /src/xgboost/dmlc-core/include/dmlc/base.h && \ | |
| sed -i '/#define DMLC_LOG_STACK_TRACE 1/d' /src/xgboost/rabit/include/dmlc/base.h |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment