0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-07-22 15:18:05 +02:00

Add notify_push

Signed-off-by: J0WI <J0WI@users.noreply.github.com>
This commit is contained in:
J0WI 2021-04-05 17:07:39 +02:00
parent 37ee8cfdab
commit 55aa61ac98
3 changed files with 58 additions and 0 deletions

View file

@ -74,6 +74,16 @@ imagick_version="$(
| tail -1
)"
notify_push_version="$(
git ls-remote --tags https://github.com/nextcloud/notify_push.git \
| cut -d/ -f3 \
| grep -vE -- '-rc|-b' \
| tr -d '^{}' \
| sed -E 's/^v//' \
| sort -V \
| tail -1
)"
declare -A pecl_versions=(
[APCu]="$apcu_version"
[memcached]="$memcached_version"
@ -190,3 +200,6 @@ for version in "${versions[@]}"; do
done
fi
done
echo "updating notify_push $notify_push_version"
sed -re 's/^ENV NOTIFY_PUSH_VERSION .*$/ENV NOTIFY_PUSH_VERSION '"$notify_push_version"'/;' -i "notify_push/Dockerfile"