0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2024-11-17 18:46:43 +01:00

Update pecl extensions in update.sh

Signed-off-by: J0WI <J0WI@users.noreply.github.com>
This commit is contained in:
J0WI 2018-11-21 22:34:02 +01:00
parent cbe0ad1ad2
commit a1ed54243d
13 changed files with 52 additions and 16 deletions

View file

@ -55,7 +55,7 @@ RUN set -ex; \
# pecl will claim success even if one install fails, so we need to perform each install separately
pecl install APCu-5.1.17; \
pecl install memcached-3.1.3; \
pecl install redis-4.2.0; \
pecl install redis-4.3.0; \
pecl install imagick-3.4.3; \
\
docker-php-ext-enable \

View file

@ -49,7 +49,7 @@ RUN set -ex; \
# pecl will claim success even if one install fails, so we need to perform each install separately
pecl install APCu-5.1.17; \
pecl install memcached-3.1.3; \
pecl install redis-4.2.0; \
pecl install redis-4.3.0; \
pecl install imagick-3.4.3; \
\
docker-php-ext-enable \

View file

@ -55,7 +55,7 @@ RUN set -ex; \
# pecl will claim success even if one install fails, so we need to perform each install separately
pecl install APCu-5.1.17; \
pecl install memcached-3.1.3; \
pecl install redis-4.2.0; \
pecl install redis-4.3.0; \
pecl install imagick-3.4.3; \
\
docker-php-ext-enable \

View file

@ -55,7 +55,7 @@ RUN set -ex; \
# pecl will claim success even if one install fails, so we need to perform each install separately
pecl install APCu-5.1.17; \
pecl install memcached-3.1.3; \
pecl install redis-4.2.0; \
pecl install redis-4.3.0; \
pecl install imagick-3.4.3; \
\
docker-php-ext-enable \

View file

@ -49,7 +49,7 @@ RUN set -ex; \
# pecl will claim success even if one install fails, so we need to perform each install separately
pecl install APCu-5.1.17; \
pecl install memcached-3.1.3; \
pecl install redis-4.2.0; \
pecl install redis-4.3.0; \
pecl install imagick-3.4.3; \
\
docker-php-ext-enable \

View file

@ -55,7 +55,7 @@ RUN set -ex; \
# pecl will claim success even if one install fails, so we need to perform each install separately
pecl install APCu-5.1.17; \
pecl install memcached-3.1.3; \
pecl install redis-4.2.0; \
pecl install redis-4.3.0; \
pecl install imagick-3.4.3; \
\
docker-php-ext-enable \

View file

@ -55,7 +55,7 @@ RUN set -ex; \
# pecl will claim success even if one install fails, so we need to perform each install separately
pecl install APCu-5.1.17; \
pecl install memcached-3.1.3; \
pecl install redis-4.2.0; \
pecl install redis-4.3.0; \
pecl install imagick-3.4.3; \
\
docker-php-ext-enable \

View file

@ -49,7 +49,7 @@ RUN set -ex; \
# pecl will claim success even if one install fails, so we need to perform each install separately
pecl install APCu-5.1.17; \
pecl install memcached-3.1.3; \
pecl install redis-4.2.0; \
pecl install redis-4.3.0; \
pecl install imagick-3.4.3; \
\
docker-php-ext-enable \

View file

@ -55,7 +55,7 @@ RUN set -ex; \
# pecl will claim success even if one install fails, so we need to perform each install separately
pecl install APCu-5.1.17; \
pecl install memcached-3.1.3; \
pecl install redis-4.2.0; \
pecl install redis-4.3.0; \
pecl install imagick-3.4.3; \
\
docker-php-ext-enable \

View file

@ -55,7 +55,7 @@ RUN set -ex; \
# pecl will claim success even if one install fails, so we need to perform each install separately
pecl install APCu-5.1.17; \
pecl install memcached-3.1.3; \
pecl install redis-4.2.0; \
pecl install redis-4.3.0; \
pecl install imagick-3.4.3; \
\
docker-php-ext-enable \

View file

@ -49,7 +49,7 @@ RUN set -ex; \
# pecl will claim success even if one install fails, so we need to perform each install separately
pecl install APCu-5.1.17; \
pecl install memcached-3.1.3; \
pecl install redis-4.2.0; \
pecl install redis-4.3.0; \
pecl install imagick-3.4.3; \
\
docker-php-ext-enable \

View file

@ -55,7 +55,7 @@ RUN set -ex; \
# pecl will claim success even if one install fails, so we need to perform each install separately
pecl install APCu-5.1.17; \
pecl install memcached-3.1.3; \
pecl install redis-4.2.0; \
pecl install redis-4.3.0; \
pecl install imagick-3.4.3; \
\
docker-php-ext-enable \

View file

@ -25,11 +25,47 @@ declare -A extras=(
[fpm-alpine]=''
)
apcu_version="$(
git ls-remote --tags https://github.com/krakjoe/apcu.git \
| cut -d/ -f3 \
| grep -vE -- '-rc|-b' \
| sed -E 's/^v//' \
| sort -V \
| tail -1
)"
memcached_version="$(
git ls-remote --tags https://github.com/php-memcached-dev/php-memcached.git \
| cut -d/ -f3 \
| grep -vE -- '-rc|-b' \
| sed -E 's/^[rv]//' \
| sort -V \
| tail -1
)"
redis_version="$(
git ls-remote --tags https://github.com/phpredis/phpredis.git \
| cut -d/ -f3 \
| grep -viE '[a-z]' \
| tr -d '^{}' \
| sort -V \
| tail -1
)"
imagick_version="$(
git ls-remote --tags https://github.com/mkoppanen/imagick.git \
| cut -d/ -f3 \
| grep -viE '[a-z]' \
| tr -d '^{}' \
| sort -V \
| tail -1
)"
declare -A pecl_versions=(
[APCu]='5.1.17'
[memcached]='3.1.3'
[redis]='4.2.0'
[imagick]='3.4.3'
[APCu]="$apcu_version"
[memcached]="$memcached_version"
[redis]="$redis_version"
[imagick]="$imagick_version"
)
variants=(