mirror of
https://github.com/mlocati/docker-php-extension-installer
synced 2025-05-09 00:22:40 +00:00
Continue implementing Alpine support
Test: amqp, apcu, bcmath, bz2, calendar, cmark, dba, enchant, exif, gd, gettext, gmp, igbinary, imagick, imap
This commit is contained in:
parent
b19c1882b7
commit
f164c691cd
3 changed files with 420 additions and 270 deletions
|
@ -69,7 +69,7 @@ testExtension () {
|
|||
testExtension_Image="$(getDockerImageName "${1}" "${2}")"
|
||||
printf ' - Docker image: %s\n' "${testExtension_Image}"
|
||||
testExtension_out=`mktemp`
|
||||
if $(docker run --rm --volume "${TRAVIS_BUILD_DIR}:/app" --workdir /app "${testExtension_Image}" sh -c "./install-php-extensions --cleanup '${1}' && php ./scripts/check-installed-extension.php '${1}'" >"${testExtension_out}" 2>&1); then
|
||||
if $(docker run --rm --volume "${TRAVIS_BUILD_DIR}:/app" --workdir /app "${testExtension_Image}" sh -c "./install-php-extensions '${1}' && php ./scripts/check-installed-extension.php '${1}'" >"${testExtension_out}" 2>&1); then
|
||||
rm -rf "${testExtension_out}"
|
||||
printf ' - Passed\n'
|
||||
return 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue