mirror of
https://github.com/docker-library/php.git
synced 2025-08-12 02:36:20 +00:00
rm subshell usage in docker-php-ext-install for Alpine (#322)
This commit is contained in:
@ -90,7 +90,6 @@ if [ "$pm" = 'apk' ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
for ext in $exts; do
|
for ext in $exts; do
|
||||||
(
|
|
||||||
cd "$ext"
|
cd "$ext"
|
||||||
[ -e Makefile ] || docker-php-ext-configure "$ext"
|
[ -e Makefile ] || docker-php-ext-configure "$ext"
|
||||||
make -j"$j"
|
make -j"$j"
|
||||||
@ -101,7 +100,7 @@ for ext in $exts; do
|
|||||||
-exec basename '{}' ';' \
|
-exec basename '{}' ';' \
|
||||||
| xargs -r docker-php-ext-enable
|
| xargs -r docker-php-ext-enable
|
||||||
make -j"$j" clean
|
make -j"$j" clean
|
||||||
)
|
cd ..
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ "$pm" = 'apk' ] && [ -n "$apkDel" ]; then
|
if [ "$pm" = 'apk' ] && [ -n "$apkDel" ]; then
|
||||||
|
Reference in New Issue
Block a user