Skip to content

Commit f716ece

Browse files
authored
Merge pull request #335 from infosiftr/cli-bash
Add bash to wp-cli for `wp shell`
2 parents cb50cba + c5dcf1a commit f716ece

File tree

5 files changed

+10
-0
lines changed

5 files changed

+10
-0
lines changed

Dockerfile-cli.template

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ RUN { \
3333

3434
# install wp-cli dependencies
3535
RUN apk add --no-cache \
36+
# bash is needed for 'wp shell': https://github.com/wp-cli/shell-command/blob/b8dafcc2a2eba5732fdee70be077675a302848e9/src/WP_CLI/REPL.php#L104
37+
bash \
3638
less \
3739
mysql-client
3840

php5.6/cli/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ RUN { \
3333

3434
# install wp-cli dependencies
3535
RUN apk add --no-cache \
36+
# bash is needed for 'wp shell': https://github.com/wp-cli/shell-command/blob/b8dafcc2a2eba5732fdee70be077675a302848e9/src/WP_CLI/REPL.php#L104
37+
bash \
3638
less \
3739
mysql-client
3840

php7.0/cli/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ RUN { \
3333

3434
# install wp-cli dependencies
3535
RUN apk add --no-cache \
36+
# bash is needed for 'wp shell': https://github.com/wp-cli/shell-command/blob/b8dafcc2a2eba5732fdee70be077675a302848e9/src/WP_CLI/REPL.php#L104
37+
bash \
3638
less \
3739
mysql-client
3840

php7.1/cli/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ RUN { \
3333

3434
# install wp-cli dependencies
3535
RUN apk add --no-cache \
36+
# bash is needed for 'wp shell': https://github.com/wp-cli/shell-command/blob/b8dafcc2a2eba5732fdee70be077675a302848e9/src/WP_CLI/REPL.php#L104
37+
bash \
3638
less \
3739
mysql-client
3840

php7.2/cli/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ RUN { \
3333

3434
# install wp-cli dependencies
3535
RUN apk add --no-cache \
36+
# bash is needed for 'wp shell': https://github.com/wp-cli/shell-command/blob/b8dafcc2a2eba5732fdee70be077675a302848e9/src/WP_CLI/REPL.php#L104
37+
bash \
3638
less \
3739
mysql-client
3840

0 commit comments

Comments
 (0)