The problem:
For instance in the example below:
We see that we aren't locking the version pecl is installing, this can lead to bugs and major versions being upgraded without the user's consent.
A proposed solution would be:
The script should take an argument (.i.e.: $1 or ENV variable) which specifies the version to be installed.
A bonus is to be able to specify the version semantically, we have to check weather pecl supports it.
The problem:
For instance in the example below:
php-docker-template/src/php/utils/docker/docker-php-ext-rdkafka
Line 9 in 91c2a84
We see that we aren't locking the version
peclis installing, this can lead to bugs and major versions being upgraded without the user's consent.A proposed solution would be:
The script should take an argument (.i.e.:
$1orENVvariable) which specifies the version to be installed.A bonus is to be able to specify the version semantically, we have to check weather pecl supports it.