little more cleanup for intermediate layer
This commit is contained in:
parent
7986bc9481
commit
7298498885
@ -46,13 +46,14 @@ RUN w=$(mktemp -d) ; \
|
|||||||
pip-env.sh pip uninstall -y 'cython' ; \
|
pip-env.sh pip uninstall -y 'cython' ; \
|
||||||
python-rm-cache.sh "${PYTHON_SITE_PACKAGES}" ; \
|
python-rm-cache.sh "${PYTHON_SITE_PACKAGES}" ; \
|
||||||
rm -rf \
|
rm -rf \
|
||||||
|
"${PYTHON_SITE_PACKAGES}/netaddr/tests" \
|
||||||
"${PYTHON_SITE_PACKAGES}/psutil/tests" \
|
"${PYTHON_SITE_PACKAGES}/psutil/tests" \
|
||||||
; \
|
; \
|
||||||
find "${PYTHON_SITE_PACKAGES}/" -type f -name '*.so*' -exec ls -l {} + ; \
|
find "${PYTHON_SITE_PACKAGES}/" -type f -name '*.so*' -exec ls -l {} + ; \
|
||||||
echo ; \
|
echo ; \
|
||||||
find "${PYTHON_SITE_PACKAGES}/" -type f -name '*.so*' -printf '%p\0' \
|
find "${PYTHON_SITE_PACKAGES}/" -type f -name '*.so*' -printf '%p\0' \
|
||||||
| sed -zE '/rust/d' \
|
| sed -zE '/rust/d' \
|
||||||
| xargs -0r strip --strip-debug ; \
|
| xargs -0r strip --verbose --strip-debug ; \
|
||||||
echo ; \
|
echo ; \
|
||||||
find "${PYTHON_SITE_PACKAGES}/" -type f -name '*.so*' -exec ls -l {} + ; \
|
find "${PYTHON_SITE_PACKAGES}/" -type f -name '*.so*' -exec ls -l {} + ; \
|
||||||
apt-remove.sh build-essential ; \
|
apt-remove.sh build-essential ; \
|
||||||
|
Loading…
Reference in New Issue
Block a user