Merge pull request #543 from J0WI/pecl-update
Update pecl extensions in update.sh
This commit is contained in:
commit
ae8992ab62
@ -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 will claim success even if one install fails, so we need to perform each install separately
|
||||||
pecl install APCu-5.1.17; \
|
pecl install APCu-5.1.17; \
|
||||||
pecl install memcached-3.1.3; \
|
pecl install memcached-3.1.3; \
|
||||||
pecl install redis-4.2.0; \
|
pecl install redis-4.3.0; \
|
||||||
pecl install imagick-3.4.3; \
|
pecl install imagick-3.4.3; \
|
||||||
\
|
\
|
||||||
docker-php-ext-enable \
|
docker-php-ext-enable \
|
||||||
|
@ -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 will claim success even if one install fails, so we need to perform each install separately
|
||||||
pecl install APCu-5.1.17; \
|
pecl install APCu-5.1.17; \
|
||||||
pecl install memcached-3.1.3; \
|
pecl install memcached-3.1.3; \
|
||||||
pecl install redis-4.2.0; \
|
pecl install redis-4.3.0; \
|
||||||
pecl install imagick-3.4.3; \
|
pecl install imagick-3.4.3; \
|
||||||
\
|
\
|
||||||
docker-php-ext-enable \
|
docker-php-ext-enable \
|
||||||
|
@ -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 will claim success even if one install fails, so we need to perform each install separately
|
||||||
pecl install APCu-5.1.17; \
|
pecl install APCu-5.1.17; \
|
||||||
pecl install memcached-3.1.3; \
|
pecl install memcached-3.1.3; \
|
||||||
pecl install redis-4.2.0; \
|
pecl install redis-4.3.0; \
|
||||||
pecl install imagick-3.4.3; \
|
pecl install imagick-3.4.3; \
|
||||||
\
|
\
|
||||||
docker-php-ext-enable \
|
docker-php-ext-enable \
|
||||||
|
@ -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 will claim success even if one install fails, so we need to perform each install separately
|
||||||
pecl install APCu-5.1.17; \
|
pecl install APCu-5.1.17; \
|
||||||
pecl install memcached-3.1.3; \
|
pecl install memcached-3.1.3; \
|
||||||
pecl install redis-4.2.0; \
|
pecl install redis-4.3.0; \
|
||||||
pecl install imagick-3.4.3; \
|
pecl install imagick-3.4.3; \
|
||||||
\
|
\
|
||||||
docker-php-ext-enable \
|
docker-php-ext-enable \
|
||||||
|
@ -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 will claim success even if one install fails, so we need to perform each install separately
|
||||||
pecl install APCu-5.1.17; \
|
pecl install APCu-5.1.17; \
|
||||||
pecl install memcached-3.1.3; \
|
pecl install memcached-3.1.3; \
|
||||||
pecl install redis-4.2.0; \
|
pecl install redis-4.3.0; \
|
||||||
pecl install imagick-3.4.3; \
|
pecl install imagick-3.4.3; \
|
||||||
\
|
\
|
||||||
docker-php-ext-enable \
|
docker-php-ext-enable \
|
||||||
|
@ -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 will claim success even if one install fails, so we need to perform each install separately
|
||||||
pecl install APCu-5.1.17; \
|
pecl install APCu-5.1.17; \
|
||||||
pecl install memcached-3.1.3; \
|
pecl install memcached-3.1.3; \
|
||||||
pecl install redis-4.2.0; \
|
pecl install redis-4.3.0; \
|
||||||
pecl install imagick-3.4.3; \
|
pecl install imagick-3.4.3; \
|
||||||
\
|
\
|
||||||
docker-php-ext-enable \
|
docker-php-ext-enable \
|
||||||
|
@ -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 will claim success even if one install fails, so we need to perform each install separately
|
||||||
pecl install APCu-5.1.17; \
|
pecl install APCu-5.1.17; \
|
||||||
pecl install memcached-3.1.3; \
|
pecl install memcached-3.1.3; \
|
||||||
pecl install redis-4.2.0; \
|
pecl install redis-4.3.0; \
|
||||||
pecl install imagick-3.4.3; \
|
pecl install imagick-3.4.3; \
|
||||||
\
|
\
|
||||||
docker-php-ext-enable \
|
docker-php-ext-enable \
|
||||||
|
@ -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 will claim success even if one install fails, so we need to perform each install separately
|
||||||
pecl install APCu-5.1.17; \
|
pecl install APCu-5.1.17; \
|
||||||
pecl install memcached-3.1.3; \
|
pecl install memcached-3.1.3; \
|
||||||
pecl install redis-4.2.0; \
|
pecl install redis-4.3.0; \
|
||||||
pecl install imagick-3.4.3; \
|
pecl install imagick-3.4.3; \
|
||||||
\
|
\
|
||||||
docker-php-ext-enable \
|
docker-php-ext-enable \
|
||||||
|
@ -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 will claim success even if one install fails, so we need to perform each install separately
|
||||||
pecl install APCu-5.1.17; \
|
pecl install APCu-5.1.17; \
|
||||||
pecl install memcached-3.1.3; \
|
pecl install memcached-3.1.3; \
|
||||||
pecl install redis-4.2.0; \
|
pecl install redis-4.3.0; \
|
||||||
pecl install imagick-3.4.3; \
|
pecl install imagick-3.4.3; \
|
||||||
\
|
\
|
||||||
docker-php-ext-enable \
|
docker-php-ext-enable \
|
||||||
|
@ -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 will claim success even if one install fails, so we need to perform each install separately
|
||||||
pecl install APCu-5.1.17; \
|
pecl install APCu-5.1.17; \
|
||||||
pecl install memcached-3.1.3; \
|
pecl install memcached-3.1.3; \
|
||||||
pecl install redis-4.2.0; \
|
pecl install redis-4.3.0; \
|
||||||
pecl install imagick-3.4.3; \
|
pecl install imagick-3.4.3; \
|
||||||
\
|
\
|
||||||
docker-php-ext-enable \
|
docker-php-ext-enable \
|
||||||
|
@ -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 will claim success even if one install fails, so we need to perform each install separately
|
||||||
pecl install APCu-5.1.17; \
|
pecl install APCu-5.1.17; \
|
||||||
pecl install memcached-3.1.3; \
|
pecl install memcached-3.1.3; \
|
||||||
pecl install redis-4.2.0; \
|
pecl install redis-4.3.0; \
|
||||||
pecl install imagick-3.4.3; \
|
pecl install imagick-3.4.3; \
|
||||||
\
|
\
|
||||||
docker-php-ext-enable \
|
docker-php-ext-enable \
|
||||||
|
@ -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 will claim success even if one install fails, so we need to perform each install separately
|
||||||
pecl install APCu-5.1.17; \
|
pecl install APCu-5.1.17; \
|
||||||
pecl install memcached-3.1.3; \
|
pecl install memcached-3.1.3; \
|
||||||
pecl install redis-4.2.0; \
|
pecl install redis-4.3.0; \
|
||||||
pecl install imagick-3.4.3; \
|
pecl install imagick-3.4.3; \
|
||||||
\
|
\
|
||||||
docker-php-ext-enable \
|
docker-php-ext-enable \
|
||||||
|
44
update.sh
44
update.sh
@ -25,11 +25,47 @@ declare -A extras=(
|
|||||||
[fpm-alpine]=''
|
[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=(
|
declare -A pecl_versions=(
|
||||||
[APCu]='5.1.17'
|
[APCu]="$apcu_version"
|
||||||
[memcached]='3.1.3'
|
[memcached]="$memcached_version"
|
||||||
[redis]='4.2.0'
|
[redis]="$redis_version"
|
||||||
[imagick]='3.4.3'
|
[imagick]="$imagick_version"
|
||||||
)
|
)
|
||||||
|
|
||||||
variants=(
|
variants=(
|
||||||
|
Loading…
Reference in New Issue
Block a user