diff --git a/Dockerfile-alpine.template b/Dockerfile-alpine.template index dffd36ab..43b85308 100644 --- a/Dockerfile-alpine.template +++ b/Dockerfile-alpine.template @@ -48,6 +48,7 @@ RUN set -ex; \ pcntl \ pdo_mysql \ pdo_pgsql \ + sysvsem \ zip \ ; \ \ diff --git a/Dockerfile-debian.template b/Dockerfile-debian.template index a9de46ce..d3fb81ee 100644 --- a/Dockerfile-debian.template +++ b/Dockerfile-debian.template @@ -57,6 +57,7 @@ RUN set -ex; \ pcntl \ pdo_mysql \ pdo_pgsql \ + sysvsem \ zip \ ; \ \ diff --git a/update.sh b/update.sh index 57724f90..a8089ff3 100755 --- a/update.sh +++ b/update.sh @@ -113,6 +113,15 @@ function create_variant() { s/%%CRONTAB_INT%%/'"$crontabInt"'/g; ' "$dir/Dockerfile" + # Nextcloud 26+ recommends sysvsem + case "$version" in + 24|25 ) + sed -ri -e ' + /sysvsem/d + ' "$dir/Dockerfile" + ;; + esac + # Copy the shell scripts for name in entrypoint cron; do cp "docker-$name.sh" "$dir/$name.sh"