Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swoole TS image? #55

Closed
volodymyr-hordiienko opened this issue Dec 19, 2024 · 3 comments
Closed

Swoole TS image? #55

volodymyr-hordiienko opened this issue Dec 19, 2024 · 3 comments
Assignees

Comments

@volodymyr-hordiienko
Copy link

volodymyr-hordiienko commented Dec 19, 2024

For Swoole 6 threads there mention that its required TS PHP, but in docker hub there no TS image, only NTS. Will TS image be added to docker hub https://hub.docker.com/r/phpswoole/swoole/tags?

alias php='docker run -it --rm --network=local-environment_local-network -v $(pwd):/app -w /app -p 8000:8000 phpswoole/swoole:6.0.0-php8.4-alpine php'

~ % php -v
PHP 8.4.1 (cli) (built: Nov 21 2024 18:24:03) (NTS)
Copyright (c) The PHP Group
Built by https://github.com/docker-library/php
Zend Engine v4.4.1, Copyright (c) Zend Technologies

Maybe we need separate set of images with --enable-swoole-thread, not sure if this is the case :)

@liulyn
Copy link

liulyn commented Dec 19, 2024 via email

@deminy deminy self-assigned this Dec 20, 2024
@deminy
Copy link
Member

deminy commented Jan 2, 2025

Sure, I should be able to add this before the end of the month.

@deminy
Copy link
Member

deminy commented Jan 6, 2025

Done.

docker run -it --rm phpswoole/swoole:6.0-php8.3 php -v
PHP 8.3.14 (cli) (built: Dec  3 2024 02:22:41) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.3.14, Copyright (c) Zend Technologies
docker run -it --rm phpswoole/swoole:6.0-php8.3-zts php -v
PHP 8.3.14 (cli) (built: Dec  3 2024 02:25:10) (ZTS)
Copyright (c) The PHP Group
Zend Engine v4.3.14, Copyright (c) Zend Technologies

@deminy deminy closed this as completed Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants