mirror of
https://github.com/devilbox/docker-php-fpm.git
synced 2025-12-13 20:41:15 +00:00
Backport more tools for work flavour
This commit is contained in:
7
php_tools/wp-cli/README.md
Normal file
7
php_tools/wp-cli/README.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# WP-CLI
|
||||
|
||||
WP-CLI is the command-line interface for WordPress.
|
||||
|
||||
| Platform | Url |
|
||||
|----------|------------------------------------------------------------------|
|
||||
| GitHub | https://github.com/wp-cli/wp-cli |
|
||||
23
php_tools/wp-cli/install.yml
Normal file
23
php_tools/wp-cli/install.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
|
||||
check: wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false)
|
||||
|
||||
all:
|
||||
type: custom
|
||||
command: curl -sS -L --fail "${WPCLI_URL}" -L -o /usr/local/bin/wp
|
||||
build_dep: []
|
||||
run_dep: []
|
||||
pre: WPCLI_URL="https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar"
|
||||
post: chmod +x /usr/local/bin/wp
|
||||
|
||||
5.5:
|
||||
type: custom
|
||||
pre: WPCLI_URL="https://github.com/wp-cli/wp-cli/releases/download/v2.4.0/wp-cli-2.4.0.phar"
|
||||
|
||||
5.4:
|
||||
type: custom
|
||||
pre: WPCLI_URL="https://github.com/wp-cli/wp-cli/releases/download/v2.4.0/wp-cli-2.4.0.phar"
|
||||
|
||||
5.3:
|
||||
type: custom
|
||||
pre: WPCLI_URL="https://github.com/wp-cli/wp-cli/releases/download/v1.5.1/wp-cli-1.5.1.phar"
|
||||
11
php_tools/wp-cli/options.yml
Normal file
11
php_tools/wp-cli/options.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
|
||||
# The name of the module
|
||||
name: wp-cli
|
||||
|
||||
# Exclude module build/installation for the following PHP versions
|
||||
exclude: [5.2]
|
||||
|
||||
# In order for this tool to build/install correctly,
|
||||
# the following tools must have been installed first.
|
||||
depends: []
|
||||
Reference in New Issue
Block a user