0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-05-03 07:30:53 +02:00
Signed-off-by: Jesper Noordsij <jesper@sslleiden.nl>
This commit is contained in:
Jesper Noordsij 2023-11-24 11:42:06 +01:00 committed by GitHub
parent 44e01e1eab
commit d1dbc77e0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
39 changed files with 1 additions and 1979 deletions

View file

@ -2,17 +2,14 @@
set -eo pipefail
declare -A alpine_version=(
[25]='3.16'
[default]='3.18'
)
declare -A debian_version=(
[25]='bullseye'
[default]='bookworm'
)
declare -A php_version=(
[25]='8.1'
[default]='8.2'
)
@ -87,7 +84,7 @@ variants=(
fpm-alpine
)
min_version='25'
min_version='26'
# version_greater_or_equal A B returns whether A >= B
function version_greater_or_equal() {
@ -112,14 +109,6 @@ function create_variant() {
echo "updating $fullversion [$1] $variant"
# Apply version+variant-specific patches
case "$version" in
25)
# Nextcloud 26+ recommends sysvsem
sed -ri -e '/sysvsem/d' "$dir/Dockerfile"
;;
esac
# Replace the variables.
sed -ri -e '
s/%%ALPINE_VERSION%%/'"$alpineVersion"'/g;