Sign inSign up

waracle/wp-cli

By waracle

•Updated about 9 years ago

Simply the Wordpress CLI

Image
0

1.1K

waracle/wp-cli repository overview

⁠WP CLI for docker

⁠Setup

  • Install docker

⁠Running

run docker run --rm --volume "$PWD:/app" -w /app --user $(id -u):$(id -g) waracle/wp-cli wp'

the command will run the wp-cli mapping the current directory using the current user

nb add the following to your .bash_profile/.bashrc

alias wp=docker run --rm --volume "$PWD:/app" -w /app --user $(id -u):$(id -g) waracle/wp-cli wp'

so you can simple do wp --info on the command line

⁠Building

  • cd to the root of this directory
  • docker build -it waracle/wp-cli .

⁠CI

Pipelines is setup to build off master and tagged master

Tag summary

Content type

Image

Digest

Size

150.3 MB

Last updated

about 9 years ago

docker pull waracle/wp-cli