mirror of
https://github.com/docker-library/php.git
synced 2025-08-05 00:09:03 +00:00
Add stripping to installed extensions
This commit is contained in:
@ -105,6 +105,12 @@ for ext in $exts; do
|
||||
cd "$ext"
|
||||
[ -e Makefile ] || docker-php-ext-configure "$ext"
|
||||
make -j"$j"
|
||||
find modules \
|
||||
-maxdepth 1 \
|
||||
-name '*.so' \
|
||||
-exec sh -euxc ' \
|
||||
strip --strip-all "$@" || :
|
||||
' -- '{}' +
|
||||
make -j"$j" install
|
||||
find modules \
|
||||
-maxdepth 1 \
|
||||
|
Reference in New Issue
Block a user