Skip to content

Commit

Permalink
add swoole the correct way
Browse files Browse the repository at this point in the history
  • Loading branch information
fibis committed Jun 15, 2021
1 parent b0c3afc commit 36ef04c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions Dockerfiles/mods/Dockerfile-8.0
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ RUN set -eux \
libldap2-dev \
libmcrypt-dev \
libmemcached-dev \
libnghttp2-dev \
libpcre3-dev \
libpng-dev \
libpq-dev \
Expand Down Expand Up @@ -537,6 +538,17 @@ RUN set -eux \
&& true


# -------------------- Installing PHP Extension: swoole --------------------
RUN set -eux \
# Installation: Generic
# Type: PECL extension
# Custom: Pecl command
&& yes yes | pecl install swoole \
# Enabling
&& docker-php-ext-enable swoole \
&& true


# -------------------- Installing PHP Extension: sysvmsg --------------------
RUN set -eux \
# Installation: Generic
Expand Down Expand Up @@ -689,6 +701,7 @@ RUN set -eux \
libjpeg62-turbo \
libmcrypt4 \
libmemcachedutil2 \
libnghttp2-14 \
libpng16-16 \
libpq5 \
libsybdb5 \
Expand Down Expand Up @@ -868,6 +881,8 @@ RUN set -eux \
&& php-fpm -m | grep -oiE '^spl$' \
&& php -m | grep -oiE '^sqlsrv$' \
&& php-fpm -m | grep -oiE '^sqlsrv$' \
&& php -m | grep -oiE '^swoole$' \
&& php-fpm -m | grep -oiE '^swoole$' \
&& php -m | grep -oiE '^sysvmsg$' \
&& php-fpm -m | grep -oiE '^sysvmsg$' \
&& php -m | grep -oiE '^sysvsem$' \
Expand Down
2 changes: 1 addition & 1 deletion build/ansible/group_vars/all/mods.yml
Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,7 @@ extensions_available:
build_dep: [libssh2-1-dev]
run_dep: [libssh2-1]
swoole:
disabled: [5.2, 8.0, 8.1]
disabled: [5.2, 8.1]
5.3:
type: pecl
version: 1.9.23
Expand Down

0 comments on commit 36ef04c

Please sign in to comment.