Use mamba clean

This commit is contained in:
Ayaz Salikhov
2021-05-25 14:02:26 +03:00
parent df1bffc6fe
commit e4f41dd4e9
2 changed files with 3 additions and 3 deletions

View File

@@ -28,13 +28,13 @@ RUN mamba install --quiet --yes \
'r-irkernel=1.2*' \ 'r-irkernel=1.2*' \
'r-rcurl=1.98*' \ 'r-rcurl=1.98*' \
'r-sparklyr=1.6*' && \ 'r-sparklyr=1.6*' && \
conda clean --all -f -y && \ mamba clean --all -f -y && \
fix-permissions "${CONDA_DIR}" && \ fix-permissions "${CONDA_DIR}" && \
fix-permissions "/home/${NB_USER}" fix-permissions "/home/${NB_USER}"
# Spylon-kernel # Spylon-kernel
RUN mamba install --quiet --yes 'spylon-kernel=0.4*' && \ RUN mamba install --quiet --yes 'spylon-kernel=0.4*' && \
conda clean --all -f -y && \ mamba clean --all -f -y && \
python -m spylon_kernel install --sys-prefix && \ python -m spylon_kernel install --sys-prefix && \
rm -rf "/home/${NB_USER}/.local" && \ rm -rf "/home/${NB_USER}/.local" && \
fix-permissions "${CONDA_DIR}" && \ fix-permissions "${CONDA_DIR}" && \

View File

@@ -57,7 +57,7 @@ USER $NB_UID
# Install pyarrow # Install pyarrow
RUN mamba install --quiet --yes --satisfied-skip-solve \ RUN mamba install --quiet --yes --satisfied-skip-solve \
'pyarrow=4.0.*' && \ 'pyarrow=4.0.*' && \
conda clean --all -f -y && \ mamba clean --all -f -y && \
fix-permissions "${CONDA_DIR}" && \ fix-permissions "${CONDA_DIR}" && \
fix-permissions "/home/${NB_USER}" fix-permissions "/home/${NB_USER}"