Repository navigation
feat: update php versions and build from source - #249
Merged
Merged
Conversation
Kevin Rudde (kevinrudde)
force-pushed
the
update-php-from-source
branch
from
October 21, 2026 14:43
95534f8 to
2d20ca5
Compare
This was referenced Oct 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request updates the PHP build matrix and refactors the Docker build and automation scripts to improve maintainability and ensure alignment with upstream sources. The most important changes are grouped below:
Build Matrix and Version Management Updates:
phpMatrixandfrankenphpMatrixvariables indocker-bake.hclto use the latest PHP patch versions: 8.2.35, 8.3.36, 8.4.27, and 8.5.12.docker-bake.hclfor tracking the upstream references:phpLibraryRef(commit SHA of docker-library/php),frankenphpRef(FrankenPHP version), andgoVersion.Docker Build Target Refactoring:
docker-bake.hclto use custom build contexts based on the upstreamphpLibraryRefand to build PHP from source using upstream Dockerfiles. Added new targets:php-fpm-alpine,php-zts-trixie, andfrankenphp-upstream.frankenphpandfpmtargets to use the new upstream-based targets as their base, enabling more consistent and reproducible builds. [1] [2]frankenphp/Dockerfileto useFROM baseinstead of a tag-based image, reflecting the new multi-stage build approach.Automation Script Improvements:
update-php-matrix.mjsto fetch the latest PHP patch versions and the upstream commit SHA directly from GitHub, replacing Docker Hub API usage. The script now updatesphpMatrix,frankenphpMatrix, andphpLibraryRefindocker-bake.hclautomatically.These changes streamline the process of keeping PHP versions up to date, ensure that builds are based on the latest upstream sources, and improve automation reliability.