@@ -44,26 +44,35 @@ apcu_version="$(
4444 | tail -1
4545) "
4646
47- memcached_version =" $(
48- git ls-remote --tags https://github.com/php-memcached-dev/php-memcached .git \
47+ igbinary_version =" $(
48+ git ls-remote --tags https://github.com/igbinary/igbinary .git \
4949 | cut -d/ -f3 \
50- | grep -viE -- ' rc|b ' \
51- | sed -E ' s/^[rv]// ' \
50+ | grep -viE ' [a-z] ' \
51+ | tr -d ' ^{} ' \
5252 | sort -V \
5353 | tail -1
5454) "
5555
56- redis_version =" $(
57- git ls-remote --tags https://github.com/phpredis/phpredis .git \
56+ imagick_version =" $(
57+ git ls-remote --tags https://github.com/mkoppanen/imagick .git \
5858 | cut -d/ -f3 \
5959 | grep -viE ' [a-z]' \
6060 | tr -d ' ^{}' \
6161 | sort -V \
6262 | tail -1
6363) "
6464
65- imagick_version=" $(
66- git ls-remote --tags https://github.com/mkoppanen/imagick.git \
65+ memcached_version=" $(
66+ git ls-remote --tags https://github.com/php-memcached-dev/php-memcached.git \
67+ | cut -d/ -f3 \
68+ | grep -viE -- ' rc|b' \
69+ | sed -E ' s/^[rv]//' \
70+ | sort -V \
71+ | tail -1
72+ ) "
73+
74+ redis_version=" $(
75+ git ls-remote --tags https://github.com/phpredis/phpredis.git \
6776 | cut -d/ -f3 \
6877 | grep -viE ' [a-z]' \
6978 | tr -d ' ^{}' \
@@ -73,9 +82,10 @@ imagick_version="$(
7382
7483declare -A pecl_versions=(
7584 [APCu]=" $apcu_version "
85+ [igbinary]=" $igbinary_version "
86+ [imagick]=" $imagick_version "
7687 [memcached]=" $memcached_version "
7788 [redis]=" $redis_version "
78- [imagick]=" $imagick_version "
7989)
8090
8191variants=(
@@ -121,9 +131,10 @@ function create_variant() {
121131 s/%%CMD%%/' " ${cmd[$variant]} " ' /g;
122132 s|%%VARIANT_EXTRAS%%|' " ${extras[$variant]} " ' |g;
123133 s/%%APCU_VERSION%%/' " ${pecl_versions[APCu]} " ' /g;
134+ s/%%IGBINARY_VERSION%%/' " ${pecl_versions[igbinary]} " ' /g;
135+ s/%%IMAGICK_VERSION%%/' " ${pecl_versions[imagick]} " ' /g;
124136 s/%%MEMCACHED_VERSION%%/' " ${pecl_versions[memcached]} " ' /g;
125137 s/%%REDIS_VERSION%%/' " ${pecl_versions[redis]} " ' /g;
126- s/%%IMAGICK_VERSION%%/' " ${pecl_versions[imagick]} " ' /g;
127138 s/%%CRONTAB_INT%%/' " $crontabInt " ' /g;
128139 ' " $dir /Dockerfile"
129140
0 commit comments