Restore PHP 8.1 for Nextcloud 25 (#1998)

https://github.com/docker-library/php/pull/1412

Signed-off-by: J0WI <J0WI@users.noreply.github.com>
This commit is contained in:
J0WI 2023-05-31 13:06:10 +00:00 committed by GitHub
parent 570ac60ed2
commit 4298972d2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 10 deletions

View File

@ -2,10 +2,8 @@
set -eo pipefail
declare -A alpine_version=(
# https://github.com/nextcloud/server/issues/32003
# Nextcloud 25 requires OpenSSL 1.1
[25]='3.16'
[default]='3.17'
[25]='3.16'
)
declare -A debian_version=(
@ -115,13 +113,6 @@ function create_variant() {
# Apply version+variant-specific patches
case "$version" in
25)
case "$variant" in
fpm-alpine)
# Alpine 3.16 / OpenSSL 1.1 is only available for PHP 8.0
phpVersion=8.0
;;
esac
# Nextcloud 26+ recommends sysvsem
sed -ri -e '/sysvsem/d' "$dir/Dockerfile"
;;