I am having issues while installing wordpress using wp-cli in Pipeline.I am using .yml file to write a script to install wordpress using Wp-cli.
Please suggest me some solution for it ASAP
Thanks.
Hi @web77
I would suggest using Docker image with wp-cli preinstalled like the official ones from https://hub.docker.com/_/wordpress/ You can find how to use custom images at https://confluence.atlassian.com/bitbucket/use-docker-images-as-build-environments-792298897.html but basically it would require you to put following in your YML
image: wordpress:cli
If that doesn't satisfy your requirements, you can alternatively build your own Docker image with all dependencies your project needs.
Thanks,
Peter
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.