mimimal yaf docker image include PHP YAF extension ,redis.so, memcached.so, pdo, mcrypt and so on
10K+
newfuture/yaf : the minimal docker image for yaf extension (default environment is dev )
PHP YAF images based on alpine (the mini docker image which is about 1.8MB after compressed !)
| VAR | default | description |
|---|---|---|
TIMEZONE | UTC | for date.timezone setting ini php.ini |
MAX_UPLOAD | 50M | upload_max_filesize setting |
DISPLAY_ERROR | 1 | display_errors to show php errors |
STARTUP_ERROR | 1 | display_startup_errors to display statrtup errors |
ASSERTIONS | 0 | zend.assertions, only php7 supported: -1 close, 1 open |
docker pull newfuture/yaf
docker pull newfuture/yaf:fpm
"/PATH/OF/YAF/APP/" with your app path , and it will auto detect public path (if exist public folder and not exist index.php ,use the public as web root)docker run -it --rm -p 1122:80 -v "`pwd`":/yaf newfuture/yaf
docker run -d -p 1122:80 -v "`pwd`":/yaf newfuture/yaf
docker run -it --rm -p 1122:80 -v "`pwd`":/yaf newfuture/yaf:php5
Content type
Image
Digest
Size
12.2 MB
Last updated
about 8 years ago
docker pull newfuture/yaf