Skip to content

Commit

Permalink
Merge pull request #18 from heddn/php84
Browse files Browse the repository at this point in the history
Add PHP 8.4
  • Loading branch information
fideloper authored Dec 9, 2024
2 parents d21dbc7 + 3c8a2df commit abe1278
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ This creates a base container for the following PHP versions
* 8.1
* 8.2
* 8.3
* 8.4

Built containers from this project will be available at https://hub.docker.com/r/fideloper/fly-laravel

Expand All @@ -20,7 +21,7 @@ You can build containers from this project using a command like so:

```bash
# From the project root:
PHP_VERSION="8.2"
PHP_VERSION="8.4"
docker build \
-t myimage:$PHP_VERSION
--build-arg PHP_VERSION=$PHP_VERSION \
Expand All @@ -45,4 +46,4 @@ The following environment variables can be set at run-time or when extending thi
| PHP_MAX_EXECUTION_TIME | php setting max_execution_time | 90 |
| PHP_POST_MAX_SIZE | php setting post_max_size | 100M |
| PHP_UPLOAD_MAX_FILE_SIZE | php setting upload_max_file_size | 100M |
| PHP_ALLOW_URL_FOPEN | php setting allow_url_fopen | Off |
| PHP_ALLOW_URL_FOPEN | php setting allow_url_fopen | Off |
3 changes: 2 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ phpVersions=(
8.1
8.2
8.3
8.4
)

for phpVersion in ${phpVersions[@]}; do
Expand All @@ -34,4 +35,4 @@ if [[ $# -gt 0 ]] && [[ $1 == "push" ]]; then
docker push "fideloper/fly-laravel:${phpVersion}"
docker push "fideloper/fly-laravel:unit-${phpVersion}"
done
fi
fi
15 changes: 15 additions & 0 deletions src/php/packages/8.4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
php8.4-bcmath
php8.4-cli
php8.4-common
php8.4-curl
php8.4-gd
php8.4-intl
php8.4-mbstring
php8.4-mysql
php8.4-pgsql
php8.4-redis
php8.4-soap
php8.4-sqlite3
php8.4-xml
php8.4-zip
php8.4-fpm

0 comments on commit abe1278

Please sign in to comment.