Skip to content

fix: preserve FrankenPHP extension build toolchain - #266

Merged
Soner (shyim) merged 1 commit into
mainfrom
fix/frankenphp-extension-toolchain
Oct 27, 2026
Merged

Soner (shyim) merged 1 commit into
mainfrom
fix/frankenphp-extension-toolchain

Conversation

@shyim

Copy link
Copy Markdown
Member

The cleanup added in #261 removes GCC and development headers from the FrankenPHP image, causing downstream install-php-extensions imagick calls to fail with gcc: not found.

Remove the explicit toolchain purge and preserve the base image's manually installed packages. The existing apt cleanup still removes temporary build dependencies.

Fixes #265.

Validation on PHP 8.4.27, Linux ARM64:

  • Reproduced gcc: not found in the previous image.
  • Built the patched image successfully.
  • Ran install-php-extensions imagick successfully and confirmed php --ri imagick reports the module enabled.
  • git diff --check passed.

@shyim
Soner (shyim) marked this pull request as ready for review October 27, 2026 13:01
@shyim
Soner (shyim) merged commit ad6f492 into main Oct 27, 2026
2 of 5 checks passed
@shyim
Soner (shyim) deleted the fix/frankenphp-extension-toolchain branch October 27, 2026 13:07
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

Successfully merging this pull request may close these issues.

Frankenphp image is missing gcc

1 participant