[GH-ISSUE #1818] Add ARM64 (linux/arm64) Docker image support #716

Closed
opened 2026-02-25 21:35:44 +03:00 by kerem · 3 comments
Owner

Originally created by @solanab on GitHub (Dec 29, 2025).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/1818

Summary

The official Docker image (cypht/cypht) currently only supports linux/amd64 architecture. Running it on ARM64 hosts (e.g., Apple Silicon, AWS Graviton, Oracle Ampere) via QEMU emulation causes PHP-FPM to crash with SIGSEGV:

qemu-x86_64: QEMU internal SIGSEGV {code=MAPERR, addr=0xf4744e50a408}
exited: php-fpm (terminated by SIGSEGV (core dumped); not expected)

Request

Please publish multi-arch Docker images that include linux/arm64 support.

Suggested Implementation

The current Dockerfile already uses --platform=$BUILDPLATFORM, but the published image is amd64-only. A simple fix would be to use docker buildx with multi-platform support:

docker buildx build --platform linux/amd64,linux/arm64 -t cypht/cypht:latest --push .

Workaround

Users can build a native ARM64 image locally:

git clone https://github.com/cypht-org/cypht.git
cd cypht
docker build -t cypht:arm64 -f docker/Dockerfile .

This works perfectly - I've tested it on an ARM64 server (Oracle Cloud Ampere A1).

Environment

  • Host: Oracle Cloud Ampere A1 (ARM64)
  • OS: Ubuntu 24.04 (linux/arm64)
  • Docker: 27.x

Thank you for considering this enhancement!

Originally created by @solanab on GitHub (Dec 29, 2025). Original GitHub issue: https://github.com/cypht-org/cypht/issues/1818 ## Summary The official Docker image (`cypht/cypht`) currently only supports `linux/amd64` architecture. Running it on ARM64 hosts (e.g., Apple Silicon, AWS Graviton, Oracle Ampere) via QEMU emulation causes PHP-FPM to crash with `SIGSEGV`: ``` qemu-x86_64: QEMU internal SIGSEGV {code=MAPERR, addr=0xf4744e50a408} exited: php-fpm (terminated by SIGSEGV (core dumped); not expected) ``` ## Request Please publish multi-arch Docker images that include `linux/arm64` support. ## Suggested Implementation The current Dockerfile already uses `--platform=$BUILDPLATFORM`, but the published image is amd64-only. A simple fix would be to use `docker buildx` with multi-platform support: ```bash docker buildx build --platform linux/amd64,linux/arm64 -t cypht/cypht:latest --push . ``` ## Workaround Users can build a native ARM64 image locally: ```bash git clone https://github.com/cypht-org/cypht.git cd cypht docker build -t cypht:arm64 -f docker/Dockerfile . ``` This works perfectly - I've tested it on an ARM64 server (Oracle Cloud Ampere A1). ## Environment - Host: Oracle Cloud Ampere A1 (ARM64) - OS: Ubuntu 24.04 (linux/arm64) - Docker: 27.x Thank you for considering this enhancement!
kerem closed this issue 2026-02-25 21:35:45 +03:00
Author
Owner

@marclaporte commented on GitHub (Dec 29, 2025):

Duplicate?
https://github.com/cypht-org/cypht/issues/1780

<!-- gh-comment-id:3697786985 --> @marclaporte commented on GitHub (Dec 29, 2025): Duplicate? https://github.com/cypht-org/cypht/issues/1780
Author
Owner

@IrAlfred commented on GitHub (Jan 10, 2026):

Duplicate? #1780

Yes ! We will apply this recommendation for the next release.

Thanks @solanab

<!-- gh-comment-id:3731963064 --> @IrAlfred commented on GitHub (Jan 10, 2026): > Duplicate? [#1780](https://github.com/cypht-org/cypht/issues/1780) Yes ! We will apply this recommendation for the next release. Thanks @solanab
Author
Owner

@IrAlfred commented on GitHub (Jan 18, 2026):

Hello @solanab

The fix for this issue has been applied and we are closing the ticket. We recommend testing with the newly released Cypht 2.6.0. Please reopen if the problem occurs again in the latest version.

<!-- gh-comment-id:3765730535 --> @IrAlfred commented on GitHub (Jan 18, 2026): Hello @solanab The fix for this issue has been applied and we are closing the ticket. We recommend testing with the newly released Cypht 2.6.0. Please reopen if the problem occurs again in the latest version.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cypht#716
No description provided.