Skip to content

Commit

Permalink
Update the entrypoint too.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbillion committed Jan 29, 2025
1 parent becc674 commit 933303a
Show file tree
Hide file tree
Showing 17 changed files with 51 additions and 0 deletions.
3 changes: 3 additions & 0 deletions entrypoint/entrypoint-cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 "$@"
Expand Down
3 changes: 3 additions & 0 deletions images/5.2/cli/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 "$@"
Expand Down
3 changes: 3 additions & 0 deletions images/5.3/cli/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 "$@"
Expand Down
3 changes: 3 additions & 0 deletions images/5.4/cli/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 "$@"
Expand Down
3 changes: 3 additions & 0 deletions images/5.5/cli/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 "$@"
Expand Down
3 changes: 3 additions & 0 deletions images/5.6.20/cli/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 "$@"
Expand Down
3 changes: 3 additions & 0 deletions images/5.6/cli/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 "$@"
Expand Down
3 changes: 3 additions & 0 deletions images/7.0/cli/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 "$@"
Expand Down
3 changes: 3 additions & 0 deletions images/7.1/cli/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 "$@"
Expand Down
3 changes: 3 additions & 0 deletions images/7.2/cli/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 "$@"
Expand Down
3 changes: 3 additions & 0 deletions images/7.3/cli/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 "$@"
Expand Down
3 changes: 3 additions & 0 deletions images/7.4/cli/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 "$@"
Expand Down
3 changes: 3 additions & 0 deletions images/8.0/cli/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 "$@"
Expand Down
3 changes: 3 additions & 0 deletions images/8.1/cli/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 "$@"
Expand Down
3 changes: 3 additions & 0 deletions images/8.2/cli/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 "$@"
Expand Down
3 changes: 3 additions & 0 deletions images/8.3/cli/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 "$@"
Expand Down
3 changes: 3 additions & 0 deletions images/8.4/cli/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 "$@"
Expand Down

0 comments on commit 933303a

Please sign in to comment.