用于PHP开发环境的Docker镜像,扩展官方PHP镜像并预装Composer及并行下载插件,包含intl、pdo_mysql、bcmath等常用PHP扩展。
PHP Composer Docker files
These images are only for development environments
These images are available on https://hub.docker.com/r/prooph/composer/. Extends the official PHP image with the following PHP extensions and installs Composer with parallel downloads plugin:
- intl
- pdo_mysql
- bcmath
- mbstring
- mongodb
- pcntl
- amqp
- redis
- zip
- bz2
See https://github.com/hirak/prestissimo for more information about Composer parallel install plugin.
To run Composer use:
bash$ docker run --rm -it --volume $(pwd):/app prooph/composer:7.2 [your composer command]
Composer with PHP 7.3
Use the following image: prooph/composer:7.3.
Composer with PHP 7.2
Use the following image: prooph/composer:7.2.
Composer with PHP 7.1
Use the following image: prooph/composer:7.1.
Composer with PHP 7.0
Use the following image: prooph/composer:7.0.
Composer with PHP ZTS 7.3
Use the following image: prooph/composer:7.3-zts.
Composer with PHP ZTS 7.2
Use the following image: prooph/composer:7.2-zts.
Composer with PHP ZTS 7.1
Use the following image: prooph/composer:7.1-zts.
Composer with PHP ZTS 7.0
Use the following image: prooph/composer:7.0-zts.
更多相关 Docker 镜像与资源
以下是 prooph/composer 相关的常用 Docker 镜像,适用于 不同场景 等不同场景:
镜像拉取方式
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
DockerHub 原生拉取命令
用户好评
来自真实用户的反馈,见证轩辕镜像的优质服务