Official docker php image with precompiled extensions and composer.
Extra extensions are marked with star(*):
> php -m
[PHP Modules]
*bcmath
*bz2
Core
ctype
curl
date
dom
*exif
fileinfo
filter
ftp
*gd
*gettext
hash
iconv
*imagick
*intl
json
libxml
mbstring
*mcrypt
mysqlnd
openssl
*pcntl
pcre
PDO
*pdo_mysql
*pdo_pgsql
pdo_sqlite
*pgsql
Phar
posix
readline
Reflection
session
SimpleXML
*soap
*sockets
SPL
sqlite3
standard
tokenizer
*xdebug
xml
xmlreader
xmlwriter
*Zend OPcache
*zip
zlib
[Zend Modules]
*Xdebug
*Zend OPcache
rm -f /usr/local/etc/php/conf.d/xdebug.ini
echo 'memory_limit = 1G' >> /usr/local/etc/php/conf.d/extra.ini
echo 'date.timezone=Europe/Moscow' >> /usr/local/etc/php/conf.d/extra.ini