Skip to content

Commit

Permalink
Merge pull request #8 from byjg/improve-disable-module
Browse files Browse the repository at this point in the history
Improve Disable Module + Upgrade PHP Version
  • Loading branch information
byjg authored Jun 11, 2024
2 parents 99aecad + 97e356f commit 13ca54c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ The PHP images are ready to use in:
| Version | Latest Version | Monthly Builds | Alpine Version |
|:-------:|:--------------:|:--------------:|:--------------:|
| **8.3** | **8.3.8** | **yes** | **edge** |
| **8.2** | **8.2.19** | **yes** | **3.20** |
| **8.1** | **8.1.28** | **yes** | **3.19** |
| **8.2** | **8.2.20** | **yes** | **3.20** |
| **8.1** | **8.1.29** | **yes** | **3.19** |
| 8.0 | 8.0.30 | - | 3.16 |
| 7.4 | 7.4.33 | - | 3.15 |
| 7.3 | 7.3.33 | - | 3.12 |
Expand Down
2 changes: 1 addition & 1 deletion assets/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ then
PHPCUSTOM=/etc/php/conf.d

# Disable modules
for VAR in `printenv | grep DISABLEMODULE | cut -d= -f1 | cut -d_ -f2- | awk '{print tolower($0)}'`
for VAR in `printenv | grep DISABLEMODULE | grep -E '(true|yes|1)' | cut -d= -f1 | cut -d_ -f2- | awk '{print tolower($0)}'`
do
if [[ -f "$PHPMODULES/*$VAR.ini" ]]
then
Expand Down

0 comments on commit 13ca54c

Please sign in to comment.