Proper development container
还没有人认领这个 Issue。
- 主要语言
- C
- 星标
- 40.4k
- 派生
- 8.2k
- 平均合并
- 2 天 13 小时
- 30 天内合并 PR
- 96
描述
Description
It's too difficult to set up a consistent PHP development environment when involving code that needs external servers, like database providers.
I would like an all-in-one Docker container that has all the software necessary to compile PHP with all extensions, and includes database servers that run in the background so I can run tests out of the box. These should be set up with the right credentials and the right environment variables should exist such that the test suite can connect to these databases. All with zero extra configuration, working out of the box.
I often just skip working on database stuff because it's too much of a PITA to set up things. Working on bugfixes is also frustrating because of this. Copying from the GitHub CI configuration is possible but also not a particularly fun experience.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先查看 issue 中提到的 GitHub CI 配置,并确定测试套件所需的 PHP 扩展、数据库服务器、凭据和环境变量。完成的标准是:单个基于 Docker 的开发环境能够编译 PHP、运行数据库服务,并在无需额外配置的情况下执行数据库测试。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- docker, php
- 领域
- developer-experience, devops
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100