feat: yet another attempt at wp-cli

This commit is contained in:
3wc
2022-03-31 01:24:33 +02:00
parent ceffd9ba5d
commit dcb3b410ff
4 changed files with 11 additions and 6 deletions

View File

@ -4,6 +4,9 @@
docker-php-ext-install {{ env "PHP_EXTENSIONS" }}
{{ end }}
curl -z /usr/local/bin/wp -o /usr/local/bin/wp https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
chmod +x /usr/local/bin/wp
if [ -n "$@" ]; then
"$@"
fi