Explorar el Código

fix: Dockerfile

Zhang Li hace 1 año
padre
commit
059c446657
Se han modificado 1 ficheros con 3 adiciones y 4 borrados
  1. 3 4
      Dockerfile

+ 3 - 4
Dockerfile

@@ -49,9 +49,8 @@ RUN curl -o ~/miniconda.sh -O  https://repo.anaconda.com/miniconda/Miniconda${PY
 
 RUN ln /opt/conda/bin/conda /usr/local/bin/conda
 RUN conda init zsh
-RUN conda install mamba -n base -c conda-forge
-RUN /opt/conda/bin/mamba install libarchive=3.5.2=hb890918_2 -y
-RUN ln /opt/conda/bin/mamba /usr/local/bin/mamba && mamba init zsh
+# RUN conda install 'mamba<=1.4.5' -n base -c conda-forge
+# RUN ln /opt/conda/bin/mamba /usr/local/bin/mamba && mamba init zsh
 
 
 
@@ -79,7 +78,7 @@ FROM builder1 as builder2
 WORKDIR /workspace
 ADD environment.yml /environment.yml
 RUN sed -i 's#- paddlepaddle#- paddlepaddle-gpu==2.3.0.post110#g' /environment.yml && cat /environment.yml
-RUN mamba update -n base -c defaults conda -y && mamba env create -f /environment.yml && rm -rf /root/.cache
+RUN conda update -n base -c defaults conda -y && conda env create -f /environment.yml && rm -rf /root/.cache
 
 # RUN /opt/conda/envs/py38/bin/python -m ipykernel install --name py38 --display-name "py38"
 # RUN echo "c.MultiKernelManager.default_kernel_name = 'py38'">>/root/.jupyter/jupyter_notebook_config.py