Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

install wordpress using wp-cli in pipeline

web77 July 24, 2019

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.

 

1 answer

0 votes
Peter Plewa
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 2, 2019

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events