mirror of
https://github.com/nextcloud/docker.git
synced 2025-02-03 10:08:26 +01:00
Add sysvsem (#1952)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
This commit is contained in:
parent
6cb8913dc4
commit
8c9cdd1268
3 changed files with 11 additions and 0 deletions
|
@ -48,6 +48,7 @@ RUN set -ex; \
|
||||||
pcntl \
|
pcntl \
|
||||||
pdo_mysql \
|
pdo_mysql \
|
||||||
pdo_pgsql \
|
pdo_pgsql \
|
||||||
|
sysvsem \
|
||||||
zip \
|
zip \
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
|
|
|
@ -57,6 +57,7 @@ RUN set -ex; \
|
||||||
pcntl \
|
pcntl \
|
||||||
pdo_mysql \
|
pdo_mysql \
|
||||||
pdo_pgsql \
|
pdo_pgsql \
|
||||||
|
sysvsem \
|
||||||
zip \
|
zip \
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
|
|
|
@ -113,6 +113,15 @@ function create_variant() {
|
||||||
s/%%CRONTAB_INT%%/'"$crontabInt"'/g;
|
s/%%CRONTAB_INT%%/'"$crontabInt"'/g;
|
||||||
' "$dir/Dockerfile"
|
' "$dir/Dockerfile"
|
||||||
|
|
||||||
|
# Nextcloud 26+ recommends sysvsem
|
||||||
|
case "$version" in
|
||||||
|
24|25 )
|
||||||
|
sed -ri -e '
|
||||||
|
/sysvsem/d
|
||||||
|
' "$dir/Dockerfile"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
# Copy the shell scripts
|
# Copy the shell scripts
|
||||||
for name in entrypoint cron; do
|
for name in entrypoint cron; do
|
||||||
cp "docker-$name.sh" "$dir/$name.sh"
|
cp "docker-$name.sh" "$dir/$name.sh"
|
||||||
|
|
Loading…
Reference in a new issue