Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
79f7f422
Commit
79f7f422
authored
Jun 20, 2017
by
Guolin Ke
Committed by
GitHub
Jun 20, 2017
Browse files
Update dockerfile-python
parent
80c641cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
13 deletions
+2
-13
docker/dockerfile-python
docker/dockerfile-python
+2
-13
No files found.
docker/dockerfile-python
View file @
79f7f422
...
@@ -3,18 +3,6 @@ FROM ubuntu:16.04
...
@@ -3,18 +3,6 @@ FROM ubuntu:16.04
RUN apt-get update && \
RUN apt-get update && \
apt-get install -y cmake build-essential gcc g++ git wget && \
apt-get install -y cmake build-essential gcc g++ git wget && \
# open-mpi
cd /usr/local/src && mkdir openmpi && cd openmpi && \
wget https://www.open-mpi.org/software/ompi/v2.0/downloads/openmpi-2.0.1.tar.gz && \
tar -xzf openmpi-2.0.1.tar.gz && cd openmpi-2.0.1 && \
./configure --prefix=/usr/local/openmpi && make && make install && \
export PATH="/usr/local/openmpi/bin:$PATH" && \
# lightgbm
cd /usr/local/src && mkdir lightgbm && cd lightgbm && \
git clone --recursive https://github.com/Microsoft/LightGBM && \
cd LightGBM && mkdir build && cd build && cmake -DUSE_MPI=ON .. && make && \
# python-package
# python-package
# miniconda
# miniconda
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh && \
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh && \
...
@@ -22,7 +10,8 @@ RUN apt-get update && \
...
@@ -22,7 +10,8 @@ RUN apt-get update && \
export PATH="/opt/conda/bin:$PATH" && \
export PATH="/opt/conda/bin:$PATH" && \
# lightgbm
# lightgbm
conda install -y numpy scipy scikit-learn pandas && \
conda install -y numpy scipy scikit-learn pandas && \
cd ../python-package && python setup.py install && \
git clone --recursive https://github.com/Microsoft/LightGBM
cd LightGBM/python-package && python setup.py install && \
# clean
# clean
apt-get autoremove -y && apt-get clean && \
apt-get autoremove -y && apt-get clean && \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment