Public image for php in alpine with a set of common extensions
7.3
,7
,latest
7.3/Dockerfile7.2
7.2/Dockerfile7.1
7.1/Dockerfile7.0
7.0/Dockerfile5.6
,5
5.6/Dockerfile
apcu (PHP 7.0 +), bcmath, Core, ctype, curl, date, dom, ev, 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, Zend OPcache, zip, zlib
Testing images are the same as the standard, but with xdebug (php5.6) or phpdbg (php7.*)
7.3-test
,7-test
,test
7.3/Dockerfile.debug7.2-test
7.2/Dockerfile.debug7.1-test
7.1/Dockerfile.debug7.0-test
7.0/Dockerfile.debug5.6-test
,5-test
5.6/Dockerfile.debug
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 phpdbg7 some/script.php