-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
29 lines (22 loc) · 846 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
FROM continuumio/miniconda:latest
RUN apt-get update && \
apt-get install -y --no-install-recommends \
ca-certificates \
cmake \
build-essential \
gcc \
g++ \
git
# ARG CONDA_DIR=/opt/conda
# ENV PATH $CONDA_DIR/bin:$PATH
# RUN curl -sL https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -o conda.sh && \
# /bin/bash conda.sh -f -b -p $CONDA_DIR && \
# export PATH="$CONDA_DIR/bin:$PATH" && \
# conda config --set always_yes yes --set changeps1 no
RUN conda install python=3.7
RUN conda install -q -y numpy scipy scikit-learn pandas
RUN pip install -U pytest
RUN git clone --recursive --branch stable --depth 1 https://github.com/Microsoft/LightGBM
RUN apt-get autoremove -y && apt-get clean && \
conda clean -a -y && \
rm -rf /var/lib/apt/lists/*