Skip to content

Commit 3500871

Browse files
authored
Merge pull request #13 from PHPExpertsInc/v6.6
Added the ability to run commands in containers from the CLI.
2 parents 83453ff + 6769c3c commit 3500871

File tree

6 files changed

+1971
-3
lines changed

6 files changed

+1971
-3
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## v6.6.0
2+
* [2021-09-22 08:40:22 CDT] - Added the abiltiy to run commands in containers from the CLI.
3+
14
## v6.5.0
25
* [2021-06-03 08:22:27 CDT] - Installed the SOAP extension.
36
* [2021-06-03 08:37:10 CDT] - Major improvements to the php cli.

docker/build-images.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
#PHP_VERSIONS="7.4"
44
#PHP_VERSIONS="5.6 7.0 7.1 7.2 7.3 7.4"
5-
PHP_VERSIONS="5.6 7.0 7.1 7.2 7.3 7.4 8.0"
5+
#PHP_VERSIONS="5.6 7.0 7.1 7.2 7.3 7.4 8.0"
6+
PHP_VERSIONS="7.0 7.1 7.2 7.3 7.4 8.0"
67
#PHP_VERSIONS="8.0"
78
cd images
89

docker/images/base/entrypoint.sh

+6-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,9 @@ for TYPE in cli fpm; do
2020
fi
2121
done
2222

23-
/usr/bin/php "$@"
23+
if [ -z "$INTERACTIVE" ]; then
24+
/usr/bin/php "$@"
25+
else
26+
"$@"
27+
fi
28+

0 commit comments

Comments
 (0)