-
-
Notifications
You must be signed in to change notification settings - Fork 124
Description
Hello,
I'm currently trying to install the Symfony CLI inside a Docker container based on Alpine 3.22 for aarch64
, and I'm running into an issue during the setup step.
❯ Reproduction steps
Here’s the relevant Docker command that fails during the build:
RUN curl -1sLf 'https://dl.cloudsmith.io/public/symfony/stable/setup.alpine.sh' | bash
❯ Full error log (excerpt)
Detected/provided for your OS/distribution, version and architecture:
distro=alpine version=3.22.0 codename=<empty> arch=aarch64
NOPE: Checking if upstream install config is OK ...
^^^^: ... Failed to fetch configuration for your OS distribution release/version.
>>>: It looks like we don't currently support your distribution release and version.
!!!!: Oh no, your setup failed! :-( ... But we might be able to help. :-)
!!!!: You can contact Symfony for further assistance.
!!!!: URL: https://github.com/symfony-cli/symfony-cli
!!!!: Last 20 log lines from .csm_setup_XXXDpgCIb (might not be errors, nor even relevant):
❯ Context
- OS: Alpine 3.22.0
- Architecture:
aarch64
- Platform: Docker build
- Step: Symfony CLI setup via official install script
❯ Expected behavior
The install script should support recent Alpine versions like 3.22, especially since it's now the default in newer Docker PHP images.
❯ Temporary workaround considered
I saw that it’s possible to override the distro
and version
values using environment variables, but I’d prefer to avoid workarounds and ensure official support for Alpine 3.22 is added directly in the script.
❯ Request
Could you please add support for Alpine 3.22 in the install script for Symfony CLI?
Let me know if you need help testing on aarch64
.
Thanks in advance for your great work! 🙏
> Update 18/07/2025
I follow this solution #619 but didnt work