注册
登录
spark
>>
docker-php
>>
返回
项目作者:
yuyongpeng
项目描述 :
docker中安装php的dockerfile,基于alpine
高级语言:
Shell
项目主页:
项目地址:
git://github.com/yuyongpeng/docker-php.git
创建时间:
2017-10-12T07:47:55Z
项目社区:
https://github.com/yuyongpeng/docker-php
开源协议:
下载
这个是基于dockerhub的官方php的修改版本
生成了一个debug的版本
php安装路径:/usr/local/php
配置文件路径:/usr/local/php/lib/
运行方式
先安装docker
git clone
https://github.com/yuyongpeng/docker-php.git
cd docker-php/alpine
docker build -t php:alpine .
docker run -d php:alipine
docker exec -ti xxxxxxxx bash