Closed qjhart closed 2 years ago
@qjhart i believe I already did most of this. however, instead of installing the wp cli in the init
dockerfile (which justin renamed to utils
), i used our main wordpress image (which has the cli installed) as the base image.
That's fine, I saw that, but couldn't figure out a good way to include in the init container. I'll close this and drop the branch
The following PR adds the ability to use wp-cli from the init script. This allows JSON updates to postmeta and/or options. The run.sh has been updated to always look for differences between the WP site_url and the .env SITE_URL.
This allows patches to things like postmeta redirects and contact info.