Re-add call to clean
MODIFY
repo2docker/buildpacks/conda/__init__.py
repo2docker/buildpacks/conda/__init__.py
@@ -340,7 +340,7 @@ class CondaBuildPack(BaseImage):
r"""
TIMEFORMAT='time: %3R' \
bash -c 'time ${{MAMBA_EXE}} install -p {0} -f "{1}" && \
- # time ${{MAMBA_EXE}} clean --all -y && \
+ time ${{MAMBA_EXE}} clean --all -y && \
${{MAMBA_EXE}} list -p {0} \
'
""".format(
@@ -359,7 +359,7 @@ class CondaBuildPack(BaseImage):
"${NB_USER}",
r"""
${{MAMBA_EXE}} install -p {0} r-base{1} r-irkernel=1.2 r-devtools -y && \
- # ${{MAMBA_EXE}} clean --all -f -y && \
+ ${{MAMBA_EXE}} clean --all -f -y && \
${{MAMBA_EXE}} list -p {0}
""".format(
env_prefix, r_pin

Re-add call to clean