Include WP-CLI in all WordPress images
还没有人认领这个 Issue。
评估
调研方向
从 docker-entrypoint.sh 开始,检查当前镜像如何安装 WordPress,以及如何使用 sed 和 awk 编辑 wp-config.php。将这些步骤与提议的 WP-CLI 命令进行比较,然后检查 standalone WP-CLI image 是如何表示的。完成的标准是:WP-CLI 包含在所有官方 WordPress 镜像中,entrypoint 使用它进行设置,并且 standalone image 已 deprecated。
由索引模型根据 Issue 内容生成。
描述
For a while now, WP-CLI has become the official way to manage WordPress from scripts / command line.
But if you glance through docker-entrypoint.sh, the current way of installing WordPress and hacking wp-config.php with sed and awk is not pretty and error-prone compared to a bunch of WP-CLI commands like
wp core download
wp config set
wp core install
WP-CLI doesn't take too much space, and it's become essential. I propose to:
- include
WP-CLIin all official WordPress images, - deprecate the stand-alone
WP-CLIimage, - refactor
docker-entrypoint.shusingWP-CLI.
It will show the community the relevant way of managing WordPress from the command line, and will make it easier to actually use the image later on. It will also solve #256.
- 主要语言
- Shell
- 星标
- 2k
- 派生
- 1.1k
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
docker-library/wordpress 的其他 Issue
-
难度 5/5 一周以上 新手友好度 25/100
docker-library/wordpress#959 · 1 条评论 · 2 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 45/100
docker-library/wordpress#930 · 6 条评论 · 4 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 45/100
docker-library/wordpress#927 · 3 条评论 · 1 个 reaction ·
-
难度 2/5 1-3 小时 新手友好度 55/100
docker-library/wordpress#862 · 7 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 35/100
docker-library/wordpress#835 · 2 条评论 · 2 个 reaction ·
查看 docker-library/wordpress 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 75/100
astral-sh/python-build-standalone#1293 ·
-
package-update
难度 1/5 1 小时以内 新手友好度 90/100
oSoWoSo/vOid_Community_repOsitory#185 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
carbon-language/carbon-lang#7821 ·