34
3
mirror of https://github.com/joomla-docker/docker-joomla.git synced 2024-11-17 18:45:11 +00:00

add GMP and Mcrypt versions to update.sh

This commit is contained in:
Phil E. Taylor 2020-06-30 12:44:09 +01:00
parent d8d636736e
commit cd3ca692a6
No known key found for this signature in database
GPG Key ID: 8B4DAA1CAC85C9FF

View File

@ -32,6 +32,7 @@ declare -A pecl_versions=(
[php7-APCu]='5.1.18'
[php7-memcached]='3.1.5'
[php7-redis]='4.3.0'
[php7-mcrypt]='1.0.3'
)
travisEnv=
@ -62,6 +63,7 @@ for phpVersion in "${phpVersions[@]}"; do
-e 's!%%APCU_VERSION%%!'"${pecl_versions[$phpMajorVersion-APCu]}"'!g' \
-e 's!%%MEMCACHED_VERSION%%!'"${pecl_versions[$phpMajorVersion-memcached]}"'!g' \
-e 's!%%REDIS_VERSION%%!'"${pecl_versions[$phpMajorVersion-redis]}"'!g' \
-e 's!%%MCRYPT_VERSION%%!'"${pecl_versions[$phpMajorVersion-mcrypt]}"'!g' \
-e 's!%%CMD%%!'"$cmd"'!g' \
"Dockerfile-${base}.template" > "$dir/Dockerfile"