From 7298498885b660ddc95f66db4731da9fa1054856 Mon Sep 17 00:00:00 2001 From: Konstantin Demin Date: Wed, 17 Jul 2024 18:59:51 +0300 Subject: [PATCH] little more cleanup for intermediate layer --- Dockerfile.deps | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile.deps b/Dockerfile.deps index b001dee..54f0021 100644 --- a/Dockerfile.deps +++ b/Dockerfile.deps @@ -46,13 +46,14 @@ RUN w=$(mktemp -d) ; \ pip-env.sh pip uninstall -y 'cython' ; \ python-rm-cache.sh "${PYTHON_SITE_PACKAGES}" ; \ rm -rf \ + "${PYTHON_SITE_PACKAGES}/netaddr/tests" \ "${PYTHON_SITE_PACKAGES}/psutil/tests" \ ; \ find "${PYTHON_SITE_PACKAGES}/" -type f -name '*.so*' -exec ls -l {} + ; \ echo ; \ find "${PYTHON_SITE_PACKAGES}/" -type f -name '*.so*' -printf '%p\0' \ | sed -zE '/rust/d' \ - | xargs -0r strip --strip-debug ; \ + | xargs -0r strip --verbose --strip-debug ; \ echo ; \ find "${PYTHON_SITE_PACKAGES}/" -type f -name '*.so*' -exec ls -l {} + ; \ apt-remove.sh build-essential ; \