image: reduce Python packages footprint
This commit is contained in:
parent
bb16585e34
commit
d50f8ece98
@ -37,6 +37,12 @@ RUN w=$(mktemp -d) ; : "${w:?}" ; \
|
|||||||
"${PYTHON_SITE_PACKAGES}/netaddr/tests" \
|
"${PYTHON_SITE_PACKAGES}/netaddr/tests" \
|
||||||
"${PYTHON_SITE_PACKAGES}/psutil/tests" \
|
"${PYTHON_SITE_PACKAGES}/psutil/tests" \
|
||||||
; \
|
; \
|
||||||
|
truncate -s 0 \
|
||||||
|
"${PYTHON_SITE_PACKAGES}/netaddr/eui/iab.idx" \
|
||||||
|
"${PYTHON_SITE_PACKAGES}/netaddr/eui/iab.txt" \
|
||||||
|
"${PYTHON_SITE_PACKAGES}/netaddr/eui/oui.txt" \
|
||||||
|
"${PYTHON_SITE_PACKAGES}/netaddr/eui/oui.idx" \
|
||||||
|
; \
|
||||||
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' \
|
||||||
|
Loading…
Reference in New Issue
Block a user