зеркало из https://github.com/microsoft/LightGBM.git
[ci] Change conda install location (#1855)
* Update Dockerfile * Update Dockerfile * chmod conda folder
This commit is contained in:
Родитель
a694712b7f
Коммит
69301eada9
|
@ -43,13 +43,14 @@ RUN curl -sL https://cmake.org/files/v3.12/cmake-3.12.0-Linux-x86_64.sh -o cmake
|
||||||
# Install Miniconda
|
# Install Miniconda
|
||||||
RUN curl -sL https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -o miniconda.sh \
|
RUN curl -sL https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -o miniconda.sh \
|
||||||
&& chmod +x miniconda.sh \
|
&& chmod +x miniconda.sh \
|
||||||
&& ./miniconda.sh -b -p /usr/local/miniconda \
|
&& ./miniconda.sh -b -p /opt/conda \
|
||||||
&& rm miniconda.sh \
|
&& rm miniconda.sh \
|
||||||
&& chmod -R 777 /usr/local/miniconda \
|
&& /opt/conda/bin/conda install python=3 -q -y \
|
||||||
&& /usr/local/miniconda/bin/conda install python=3 -q -y \
|
&& /opt/conda/bin/conda install mkl qt -q -y \
|
||||||
&& /usr/local/miniconda/bin/conda install mkl qt -q -y \
|
&& /opt/conda/bin/conda clean -a -y \
|
||||||
&& /usr/local/miniconda/bin/conda clean -a -y
|
&& chmod -R 777 /opt/conda
|
||||||
ENV CONDA=/usr/local/miniconda
|
|
||||||
|
ENV CONDA=/opt/conda/
|
||||||
|
|
||||||
# Clean system
|
# Clean system
|
||||||
RUN apt-get clean \
|
RUN apt-get clean \
|
||||||
|
|
Загрузка…
Ссылка в новой задаче