Use mlocati/docker-php-extension-installer#244
Merged
bluvulture merged 4 commits into5.xfrom May 7, 2026
Merged
Conversation
…xtension-installer which properly handles runtime dependencies
Contributor
There was a problem hiding this comment.
Pull request overview
This PR switches the image build from manual docker-php-ext-install / pecl steps to mlocati/docker-php-extension-installer to better manage extension build/runtime dependencies and simplify the Dockerfile.
Changes:
- Replace manual PHP extension compilation/PECL installs with
install-php-extensionsacross image flavors. - Remove legacy build helper scripts (
build-install.sh,build-cleanup.sh) and inline apt cleanup in Dockerfile. - Add BuildKit
RUN --mount=...from=mlocati/php-extension-installer...usage to avoid persisting the installer binary in layers.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| Dockerfile | Replaces manual extension build/install logic with install-php-extensions and adjusts apt install/cleanup steps across stages. |
| files/build-install.sh | Removed legacy build dependency installation script (no longer referenced). |
| files/build-cleanup.sh | Removed legacy cleanup script (no longer referenced). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
brusch
approved these changes
May 7, 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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Replaces manual docker-php-ext-install/pecl with mlocati/docker-php-extension-installer
which properly handles runtime dependencies