Include WP-CLI in all WordPress images
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
Research direction
Start with docker-entrypoint.sh and review how the current image installs WordPress and edits wp-config.php with sed and awk. Compare those steps with the proposed WP-CLI commands, then inspect how the standalone WP-CLI image is represented. Done means WP-CLI is included in all official WordPress images, the entrypoint uses it for setup, and the standalone image is deprecated.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- Shell
- Stars
- 2k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from docker-library/wordpress
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
docker-library/wordpress#959 · 1 comment · 2 reactions ·
-
New php-latest tag Open
Difficulty 3/5 1-2 days Newbie friendliness 45/100
docker-library/wordpress#930 · 6 comments · 4 reactions ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
docker-library/wordpress#927 · 3 comments · 1 reaction ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
docker-library/wordpress#862 · 7 reactions ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
docker-library/wordpress#835 · 2 comments · 2 reactions ·
All issues in docker-library/wordpress
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
bug easy help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
lacs-project/sysknife#503 ·
-
help wanted kind/documentation
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
liquidmetal-dev/flintlock#1239 ·