diff --git a/entrypoint/entrypoint-cli.sh b/entrypoint/entrypoint-cli.sh index a975386..7c52375 100644 --- a/entrypoint/entrypoint-cli.sh +++ b/entrypoint/entrypoint-cli.sh @@ -3,6 +3,9 @@ set -e source /common.sh +# WP CLI config +WP_CLI_CACHE_DIR=/tmp/wp-cli + # first arg is `-f` or `--some-option` if [ "${1#-}" != "$1" ]; then set -- wp "$@" diff --git a/images/5.2/cli/entrypoint.sh b/images/5.2/cli/entrypoint.sh index a975386..7c52375 100644 --- a/images/5.2/cli/entrypoint.sh +++ b/images/5.2/cli/entrypoint.sh @@ -3,6 +3,9 @@ set -e source /common.sh +# WP CLI config +WP_CLI_CACHE_DIR=/tmp/wp-cli + # first arg is `-f` or `--some-option` if [ "${1#-}" != "$1" ]; then set -- wp "$@" diff --git a/images/5.3/cli/entrypoint.sh b/images/5.3/cli/entrypoint.sh index a975386..7c52375 100644 --- a/images/5.3/cli/entrypoint.sh +++ b/images/5.3/cli/entrypoint.sh @@ -3,6 +3,9 @@ set -e source /common.sh +# WP CLI config +WP_CLI_CACHE_DIR=/tmp/wp-cli + # first arg is `-f` or `--some-option` if [ "${1#-}" != "$1" ]; then set -- wp "$@" diff --git a/images/5.4/cli/entrypoint.sh b/images/5.4/cli/entrypoint.sh index a975386..7c52375 100644 --- a/images/5.4/cli/entrypoint.sh +++ b/images/5.4/cli/entrypoint.sh @@ -3,6 +3,9 @@ set -e source /common.sh +# WP CLI config +WP_CLI_CACHE_DIR=/tmp/wp-cli + # first arg is `-f` or `--some-option` if [ "${1#-}" != "$1" ]; then set -- wp "$@" diff --git a/images/5.5/cli/entrypoint.sh b/images/5.5/cli/entrypoint.sh index a975386..7c52375 100644 --- a/images/5.5/cli/entrypoint.sh +++ b/images/5.5/cli/entrypoint.sh @@ -3,6 +3,9 @@ set -e source /common.sh +# WP CLI config +WP_CLI_CACHE_DIR=/tmp/wp-cli + # first arg is `-f` or `--some-option` if [ "${1#-}" != "$1" ]; then set -- wp "$@" diff --git a/images/5.6.20/cli/entrypoint.sh b/images/5.6.20/cli/entrypoint.sh index a975386..7c52375 100644 --- a/images/5.6.20/cli/entrypoint.sh +++ b/images/5.6.20/cli/entrypoint.sh @@ -3,6 +3,9 @@ set -e source /common.sh +# WP CLI config +WP_CLI_CACHE_DIR=/tmp/wp-cli + # first arg is `-f` or `--some-option` if [ "${1#-}" != "$1" ]; then set -- wp "$@" diff --git a/images/5.6/cli/entrypoint.sh b/images/5.6/cli/entrypoint.sh index a975386..7c52375 100644 --- a/images/5.6/cli/entrypoint.sh +++ b/images/5.6/cli/entrypoint.sh @@ -3,6 +3,9 @@ set -e source /common.sh +# WP CLI config +WP_CLI_CACHE_DIR=/tmp/wp-cli + # first arg is `-f` or `--some-option` if [ "${1#-}" != "$1" ]; then set -- wp "$@" diff --git a/images/7.0/cli/entrypoint.sh b/images/7.0/cli/entrypoint.sh index a975386..7c52375 100644 --- a/images/7.0/cli/entrypoint.sh +++ b/images/7.0/cli/entrypoint.sh @@ -3,6 +3,9 @@ set -e source /common.sh +# WP CLI config +WP_CLI_CACHE_DIR=/tmp/wp-cli + # first arg is `-f` or `--some-option` if [ "${1#-}" != "$1" ]; then set -- wp "$@" diff --git a/images/7.1/cli/entrypoint.sh b/images/7.1/cli/entrypoint.sh index a975386..7c52375 100644 --- a/images/7.1/cli/entrypoint.sh +++ b/images/7.1/cli/entrypoint.sh @@ -3,6 +3,9 @@ set -e source /common.sh +# WP CLI config +WP_CLI_CACHE_DIR=/tmp/wp-cli + # first arg is `-f` or `--some-option` if [ "${1#-}" != "$1" ]; then set -- wp "$@" diff --git a/images/7.2/cli/entrypoint.sh b/images/7.2/cli/entrypoint.sh index a975386..7c52375 100644 --- a/images/7.2/cli/entrypoint.sh +++ b/images/7.2/cli/entrypoint.sh @@ -3,6 +3,9 @@ set -e source /common.sh +# WP CLI config +WP_CLI_CACHE_DIR=/tmp/wp-cli + # first arg is `-f` or `--some-option` if [ "${1#-}" != "$1" ]; then set -- wp "$@" diff --git a/images/7.3/cli/entrypoint.sh b/images/7.3/cli/entrypoint.sh index a975386..7c52375 100644 --- a/images/7.3/cli/entrypoint.sh +++ b/images/7.3/cli/entrypoint.sh @@ -3,6 +3,9 @@ set -e source /common.sh +# WP CLI config +WP_CLI_CACHE_DIR=/tmp/wp-cli + # first arg is `-f` or `--some-option` if [ "${1#-}" != "$1" ]; then set -- wp "$@" diff --git a/images/7.4/cli/entrypoint.sh b/images/7.4/cli/entrypoint.sh index a975386..7c52375 100644 --- a/images/7.4/cli/entrypoint.sh +++ b/images/7.4/cli/entrypoint.sh @@ -3,6 +3,9 @@ set -e source /common.sh +# WP CLI config +WP_CLI_CACHE_DIR=/tmp/wp-cli + # first arg is `-f` or `--some-option` if [ "${1#-}" != "$1" ]; then set -- wp "$@" diff --git a/images/8.0/cli/entrypoint.sh b/images/8.0/cli/entrypoint.sh index a975386..7c52375 100644 --- a/images/8.0/cli/entrypoint.sh +++ b/images/8.0/cli/entrypoint.sh @@ -3,6 +3,9 @@ set -e source /common.sh +# WP CLI config +WP_CLI_CACHE_DIR=/tmp/wp-cli + # first arg is `-f` or `--some-option` if [ "${1#-}" != "$1" ]; then set -- wp "$@" diff --git a/images/8.1/cli/entrypoint.sh b/images/8.1/cli/entrypoint.sh index a975386..7c52375 100644 --- a/images/8.1/cli/entrypoint.sh +++ b/images/8.1/cli/entrypoint.sh @@ -3,6 +3,9 @@ set -e source /common.sh +# WP CLI config +WP_CLI_CACHE_DIR=/tmp/wp-cli + # first arg is `-f` or `--some-option` if [ "${1#-}" != "$1" ]; then set -- wp "$@" diff --git a/images/8.2/cli/entrypoint.sh b/images/8.2/cli/entrypoint.sh index a975386..7c52375 100644 --- a/images/8.2/cli/entrypoint.sh +++ b/images/8.2/cli/entrypoint.sh @@ -3,6 +3,9 @@ set -e source /common.sh +# WP CLI config +WP_CLI_CACHE_DIR=/tmp/wp-cli + # first arg is `-f` or `--some-option` if [ "${1#-}" != "$1" ]; then set -- wp "$@" diff --git a/images/8.3/cli/entrypoint.sh b/images/8.3/cli/entrypoint.sh index a975386..7c52375 100644 --- a/images/8.3/cli/entrypoint.sh +++ b/images/8.3/cli/entrypoint.sh @@ -3,6 +3,9 @@ set -e source /common.sh +# WP CLI config +WP_CLI_CACHE_DIR=/tmp/wp-cli + # first arg is `-f` or `--some-option` if [ "${1#-}" != "$1" ]; then set -- wp "$@" diff --git a/images/8.4/cli/entrypoint.sh b/images/8.4/cli/entrypoint.sh index a975386..7c52375 100644 --- a/images/8.4/cli/entrypoint.sh +++ b/images/8.4/cli/entrypoint.sh @@ -3,6 +3,9 @@ set -e source /common.sh +# WP CLI config +WP_CLI_CACHE_DIR=/tmp/wp-cli + # first arg is `-f` or `--some-option` if [ "${1#-}" != "$1" ]; then set -- wp "$@"