Add sysvsem (#1952)

Signed-off-by: J0WI <J0WI@users.noreply.github.com>
This commit is contained in:
J0WI 2023-03-21 19:31:21 +00:00 committed by GitHub
parent 6cb8913dc4
commit 8c9cdd1268
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 0 deletions

View File

@ -48,6 +48,7 @@ RUN set -ex; \
pcntl \
pdo_mysql \
pdo_pgsql \
sysvsem \
zip \
; \
\

View File

@ -57,6 +57,7 @@ RUN set -ex; \
pcntl \
pdo_mysql \
pdo_pgsql \
sysvsem \
zip \
; \
\

View File

@ -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"