hyperf / hyperf-docker

🐳 The docker image offered by Hyperf.
https://hub.docker.com/r/hyperf/hyperf
301 stars 203 forks source link

install extension php-redis with pecl instead of apt #29

Open simonkuang opened 3 years ago

simonkuang commented 3 years ago

while build docker image with command docker-compose -f ubuntu.compose.yaml, it says "php7.4-redis" does not exist.

$ cat .env
UBUNTU_VERSION=21.10
PHP_VERSION=7.4
SWOOLE_VERSION=4.6.7

so using pecl command to install php-redis extension.