mirror of
https://github.com/nextcloud/docker.git
synced 2025-02-04 02:28:26 +01:00
PHP 8.0 for 22+ (#1563)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
This commit is contained in:
parent
854c696d5f
commit
9ec9b3b4c5
1 changed files with 4 additions and 2 deletions
|
@ -2,7 +2,9 @@
|
||||||
set -eo pipefail
|
set -eo pipefail
|
||||||
|
|
||||||
declare -A php_version=(
|
declare -A php_version=(
|
||||||
[default]='7.4'
|
[default]='8.0'
|
||||||
|
[20]='7.4'
|
||||||
|
[21]='7.4'
|
||||||
)
|
)
|
||||||
|
|
||||||
declare -A cmd=(
|
declare -A cmd=(
|
||||||
|
@ -113,7 +115,7 @@ function create_variant() {
|
||||||
' "$dir/Dockerfile"
|
' "$dir/Dockerfile"
|
||||||
|
|
||||||
case "$phpVersion" in
|
case "$phpVersion" in
|
||||||
7.4 )
|
7.4|8.0 )
|
||||||
sed -ri -e '
|
sed -ri -e '
|
||||||
\@docker-php-ext-configure gmp --with-gmp@d;
|
\@docker-php-ext-configure gmp --with-gmp@d;
|
||||||
\@/usr/include/gmp.h@d;
|
\@/usr/include/gmp.h@d;
|
||||||
|
|
Loading…
Reference in a new issue