Revert "[MRG] Remove more files during the image build to slimdown the image"

pull/712/head
Tim Head 2019-06-24 15:01:44 +02:00 zatwierdzone przez GitHub
rodzic 199d14a4a3
commit 391f5bf4af
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 0 dodań i 8 usunięć

Wyświetl plik

@ -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

Wyświetl plik

@ -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}