mirror of
https://github.com/joomla-docker/docker-joomla.git
synced 2024-11-10 15:21:02 +00:00
Update pecl extensions in update.sh
This commit is contained in:
parent
ecacfae16a
commit
c78917c28a
@ -39,7 +39,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.13; \
|
||||
pecl install APCu-5.1.14; \
|
||||
pecl install memcached-3.0.4; \
|
||||
pecl install redis-4.2.0; \
|
||||
\
|
||||
|
@ -39,7 +39,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.13; \
|
||||
pecl install APCu-5.1.14; \
|
||||
pecl install memcached-3.0.4; \
|
||||
pecl install redis-4.2.0; \
|
||||
\
|
||||
|
@ -36,7 +36,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.13; \
|
||||
pecl install APCu-5.1.14; \
|
||||
pecl install memcached-3.0.4; \
|
||||
pecl install redis-4.2.0; \
|
||||
\
|
||||
|
@ -39,7 +39,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.13; \
|
||||
pecl install APCu-5.1.14; \
|
||||
pecl install memcached-3.0.4; \
|
||||
pecl install redis-4.2.0; \
|
||||
\
|
||||
|
@ -39,7 +39,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.13; \
|
||||
pecl install APCu-5.1.14; \
|
||||
pecl install memcached-3.0.4; \
|
||||
pecl install redis-4.2.0; \
|
||||
\
|
||||
|
@ -36,7 +36,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.13; \
|
||||
pecl install APCu-5.1.14; \
|
||||
pecl install memcached-3.0.4; \
|
||||
pecl install redis-4.2.0; \
|
||||
\
|
||||
|
@ -37,7 +37,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.13; \
|
||||
pecl install APCu-5.1.14; \
|
||||
pecl install memcached-3.0.4; \
|
||||
pecl install redis-4.2.0; \
|
||||
\
|
||||
|
@ -37,7 +37,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.13; \
|
||||
pecl install APCu-5.1.14; \
|
||||
pecl install memcached-3.0.4; \
|
||||
pecl install redis-4.2.0; \
|
||||
\
|
||||
|
@ -34,7 +34,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.13; \
|
||||
pecl install APCu-5.1.14; \
|
||||
pecl install memcached-3.0.4; \
|
||||
pecl install redis-4.2.0; \
|
||||
\
|
||||
|
35
update.sh
35
update.sh
@ -13,6 +13,33 @@ current="$(curl -fsSL 'https://downloads.joomla.org/api/v1/latest/cms' | jq -r '
|
||||
urlVersion=$(echo $current | sed -e 's/\./-/g')
|
||||
sha1="$(curl -fsSL "https://downloads.joomla.org/api/v1/signatures/cms/$urlVersion" | jq -r --arg file "Joomla_${current}-Stable-Full_Package.tar.bz2" '.[] | .[] | select(.filename == $file).sha1')"
|
||||
|
||||
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
|
||||
)"
|
||||
|
||||
declare -A variantExtras=(
|
||||
[apache]='\n# Enable Apache Rewrite Module\nRUN a2enmod rewrite\n'
|
||||
[fpm]=''
|
||||
@ -31,10 +58,10 @@ declare -A variantBases=(
|
||||
declare -A pecl_versions=(
|
||||
[php5-APCu]='4.0.11'
|
||||
[php5-memcached]='2.2.0'
|
||||
[php5-redis]='4.2.0'
|
||||
[php7-APCu]='5.1.13'
|
||||
[php7-memcached]='3.0.4'
|
||||
[php7-redis]='4.2.0'
|
||||
[php5-redis]="$redis_version"
|
||||
[php7-APCu]="$apcu_version"
|
||||
[php7-memcached]="$memcached_version"
|
||||
[php7-redis]="$redis_version"
|
||||
)
|
||||
|
||||
travisEnv=
|
||||
|
Loading…
Reference in New Issue
Block a user