Dockerfile 只是个例子,可以修改安装所需要的软件和扩展,然后重新构建出特定的镜像
使用案例:OverNaive/docker-nginx-php
docker-php-ext-get 来自于文章: Build Docker images with PECL packages without using the PECL command
Update: 不指定扩展版本时,默认使用最新版本。
openssl-dev
libstdc++
supervisor
git
composer
pdo_mysql
igbinary
redis --enable-redis-igbinary
swoole --enable-openssl=yes