You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Do we have non-Alpine versions of Hyperf Docker images? #71
I’m working with native PHP extensions (e.g., eusphpe.so) that depend on glibc and unfortunately fail to work on Alpine, because it uses musl libc, which is not fully compatible.
Would it be possible to provide an official Debian-based variant of Hyperf images (e.g., based on php:8.3-cli), both for AMD64 and ARM64 architectures?
This would help a lot when dealing with third-party native libraries that can’t be rebuilt or patched to work with musl.
Thanks in advance! 🙏
⸻
✔ Why Debian?
• glibc compatibility by default
• Easier support for native PHP extensions
• No need for gcompat hacks or manual patching
• Works out-of-the-box for most enterprise libraries
Activity
volodymyr-hordiienko commentedon Apr 7, 2025
Any updates? :) Can we have debian images also?
[-]Are there not alpine version on images?[/-][+]Do we have non-Alpine versions of Hyperf Docker images?[/+]lait233 commentedon Apr 17, 2025
Actually, you can refer to the Dockerfile to manually create a Hyperf environment based on Debian. For example, use FROM php:8.3-fpm and then install the Swoole environment using https://github.com/mlocati/docker-php-extension-installer.