From a3819e9addce9cd10dfaeaf4775755e0012e9e86 Mon Sep 17 00:00:00 2001 From: cytopia Date: Sun, 17 Jun 2018 19:03:47 +0200 Subject: [PATCH] Fix swoole for PHP 7.0 --- Dockerfiles/mods/Dockerfile-7.0 | 2 +- build/ansible/group_vars/all.yml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfiles/mods/Dockerfile-7.0 b/Dockerfiles/mods/Dockerfile-7.0 index 187c5b12..f4da6343 100644 --- a/Dockerfiles/mods/Dockerfile-7.0 +++ b/Dockerfiles/mods/Dockerfile-7.0 @@ -215,7 +215,7 @@ RUN set -x \ && /usr/local/bin/docker-php-ext-configure soap --with-libxml-dir=/usr \ && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) soap \ && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sockets \ - && pecl install swoole \ + && pecl install swoole-2.2.0 \ && docker-php-ext-enable swoole \ && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvmsg \ && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvsem \ diff --git a/build/ansible/group_vars/all.yml b/build/ansible/group_vars/all.yml index 4894937f..3f128d39 100644 --- a/build/ansible/group_vars/all.yml +++ b/build/ansible/group_vars/all.yml @@ -966,8 +966,9 @@ extensions_available: 5.6: type: pecl version: 1.9.23 - 7.2: + 7.0: type: pecl + version: 2.2.0 7.3: type: git git_url: https://github.com/swoole/swoole-src