Commit 69301ead authored by Guolin Ke's avatar Guolin Ke Committed by Qiwei Ye
Browse files

[ci] Change conda install location (#1855)

* Update Dockerfile

* Update Dockerfile

* chmod conda folder
parent a694712b
...@@ -43,13 +43,14 @@ RUN curl -sL https://cmake.org/files/v3.12/cmake-3.12.0-Linux-x86_64.sh -o cmake ...@@ -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 \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment