Skip to content

Instantly share code, notes, and snippets.

@vernomcrp
Created August 15, 2018 20:29
Show Gist options
  • Select an option

  • Save vernomcrp/4964041b01851439a32590ae716ef90b to your computer and use it in GitHub Desktop.

Select an option

Save vernomcrp/4964041b01851439a32590ae716ef90b to your computer and use it in GitHub Desktop.
xgboost base
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