Public image for php in alpine with a set of common extensions
8.5,8,latest8.5/Dockerfile8.48.4/Dockerfile8.38.3/Dockerfile8.28.2/Dockerfile8.18.1/Dockerfile8.08.0/Dockerfile7.4,77.4/Dockerfile7.37.3/Dockerfile7.27.2/Dockerfile7.17.1/Dockerfile7.07.0/Dockerfile5.6,55.6/Dockerfile
apcu (PHP 7.0 +), bcmath, Core, ctype, curl, date, dom, event, fileinfo, filter, hash, iconv (with a fix), intl, json, libxml, mbstring, memcached, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, readline, Reflection, session, SimpleXML, soap, sockets, sodium (PHP 7.2 +), SPL, standard, tokenizer, xml, xmlreader, xmlwriter, yaml (not PHP 7.0), Zend OPcache, zip, zlib
Testing images are the same as the standard, but with xdebug (php 5.6) or phpdbg (php 7.* and 8.*)
8.5-test,8-test,test8.5/debug.Dockerfile8.4-test8.4/debug.Dockerfile8.3-test8.3/debug.Dockerfile8.2-test8.2/debug.Dockerfile8.1-test8.1/debug.Dockerfile8.0-test8.0/debug.Dockerfile7.4-test,7-test7.4/debug.Dockerfile7.3-test7.3/debug.Dockerfile7.2-test7.2/debug.Dockerfile7.1-test7.1/debug.Dockerfile7.0-test7.0/debug.Dockerfile5.6-test,5-test5.6/debug.Dockerfile
All of the above modules, xdebug (PHP 5.6 only, PHP 7.0+ uses phpdbg)
make build-quick
make tag test
docker pull graze/php-alpine
docker run --rm graze/php-alpine -v $(pwd):/srv php some/script.php
docker run --rm graze/php-alpine:test -v $(pwd):/srv phpdbg some/script.php