Browse Source

Update Swoole to 4.4.7 (#5096)

* Update Swoole to 4.4.7

* Update docker with Swoole pecl install
jcheron 5 years ago
parent
commit
2813174c9a
1 changed files with 2 additions and 6 deletions
  1. 2 6
      frameworks/PHP/swoole/swoole.dockerfile

+ 2 - 6
frameworks/PHP/swoole/swoole.dockerfile

@@ -1,11 +1,7 @@
 FROM php:7.3
 
-ENV SWOOLE_VERSION=4.4.5
-
-RUN cd /tmp && curl -sSL "https://github.com/swoole/swoole-src/archive/v${SWOOLE_VERSION}.tar.gz" | tar xzf - \
-        && cd swoole-src-${SWOOLE_VERSION} \
-        && phpize && ./configure > /dev/null && make > /dev/null && make install > /dev/null \
-        && docker-php-ext-enable swoole
+RUN pecl install swoole > /dev/null && \
+    docker-php-ext-enable swoole
 
 RUN docker-php-ext-install pdo_mysql > /dev/null