Skip to content

Commit

Permalink
update to swoole 6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
muhajirinlpu committed Dec 19, 2024
1 parent 0001169 commit 61e3a1a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,3 @@ Octane | Crafted for running octane with `swoole` driver. use `DOCKER_WORKERS=`

> Dokar PHP by default is using Ubuntu image, but we also provide Alpine image.
> You can add `-slim` in tag to use Alpine based image. e.g., `docker pull ghcr.io/digital-entropy/dokar-php/octane:8.4-slim`
### ⚠️ Important Notes

- The `-slim` (Alpine-based) variants for PHP 8.4 are currently not available
- Octane flavor is currently also in Release Candidate (RC) status as the Swoole extension for PHP 8.4 is still in alpha stage [refer to swoole release note](https://github.com/swoole/swoole-src/releases)
9 changes: 1 addition & 8 deletions ubuntu/octane/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,9 @@ RUN apt-get update \
php8.4-intl php8.4-readline \
php8.4-ldap php-pear \
&& pecl channel-update https://pecl.php.net/channel.xml \
&& pecl install igbinary redis \
&& pecl install igbinary redis swoole \
&& echo "extension=igbinary.so" > /etc/php/8.4/cli/conf.d/20-igbinary.ini \
&& echo "extension=redis.so" > /etc/php/8.4/cli/conf.d/20-redis.ini \
&& curl -o swoole.tar.gz https://codeload.github.com/swoole/swoole-src/tar.gz/refs/tags/v6.0.0-rc1 \
&& tar -xf swoole.tar.gz \
&& cd swoole-src-6.0.0-rc1 \
&& phpize \
&& ./configure \
&& make -j$(nproc) && make install \
&& cd .. && rm -rf swoole-src-6.0.0-rc1 swoole.tar.gz \
&& echo "extension=swoole.so" > /etc/php/8.4/cli/conf.d/20-swoole.ini \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
&& composer global require --quiet --no-ansi laravel/envoy \
Expand Down

0 comments on commit 61e3a1a

Please sign in to comment.