#Supported tags and respective Dockerfile link
latestphp7.3-apache(master/Dockerfile))php5.6-apache(php5.6-apache/Dockerfile))php7.1-apache(php7.1-apache/Dockerfile))
Contains:
- PHP (from official php-apache) with extensions (mysql , pgsql, opcache, intl, apcu, xdebug)
- Apache 2 httpd
- Composer + hirak/prestissimo plugin
- Node.js + yarn + webpack
Build args:
NODE_VERSION(default to10.13.0)YARN_VERSION(default to1.16.0)PHP_INIpath to user-defined INI file (see default user-defined php.ini)
Example:
To update Node.js to version 8.6.0:
docker build /path/to/Dockerfile/directory --build-arg NODE_VERSION=8.6.0 -t myapp
To replace the user-defined INI file:
docker build /path/to/Dockerfile/directory --build-arg PHP_INI=php.ini -t myapp
Docker compose