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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.