diff --git a/repo2docker/buildpacks/conda/__init__.py b/repo2docker/buildpacks/conda/__init__.py index e6212d0e..8e818bc4 100644 --- a/repo2docker/buildpacks/conda/__init__.py +++ b/repo2docker/buildpacks/conda/__init__.py @@ -191,9 +191,6 @@ class CondaBuildPack(BaseImage): r""" conda env update -p {0} -f "{1}" && \ conda clean --all -f -y && \ - find -L ${{CONDA_DIR}} -type f -name '*.a' -delete && \ - find -L ${{CONDA_DIR}} -type f -name '*.pyc' -delete && \ - find -L ${{CONDA_DIR}} -type f -name '*.js.map' -delete && \ conda list -p {0} """.format( env_prefix, environment_yml diff --git a/repo2docker/buildpacks/conda/install-miniconda.bash b/repo2docker/buildpacks/conda/install-miniconda.bash index f1567cd0..5ee2239d 100755 --- a/repo2docker/buildpacks/conda/install-miniconda.bash +++ b/repo2docker/buildpacks/conda/install-miniconda.bash @@ -70,11 +70,6 @@ fi # Clean things out! conda clean --all -f -y -# Remove static libaries, compiled Python byte code, JS map files -find -L ${CONDA_DIR} -type f -name '*.a' -delete -find -L ${CONDA_DIR} -type f -name '*.pyc' -delete -find -L ${CONDA_DIR} -type f -name '*.js.map' -delete - # Remove the big installer so we don't increase docker image size too much rm ${INSTALLER_PATH}