Repository navigation
Use packages.sury.org instead of the retired ondrej/php PPA - #76
Merged
Merged
Conversation
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.
The
ppa:ondrej/phpLaunchpad PPA is frozen and no longer receives updates, as its description now states. PHP packages moved to https://packages.sury.org/php/.This switches the build to the new repository, following https://packages.sury.org/php/README.txt:
dpkg -idebsuryorg-archive-keyring.debdeb [signed-by=/usr/share/keyrings/debsuryorg-archive-keyring.gpg] https://packages.sury.org/php/ ${UBUNTU} maingnupg,apt-keyand the keyserver fetchca-certificatesandcurlin the bootstrap step, since the base Ubuntu image ships neither and the keyring is fetched over HTTPS${UBUNTU}is still the suite, so the jammy and noble matrix entries are unchanged. Thephp<V>-opcacheguard is untouched: separate package below 8.5, built into 8.5.Verification
Built and ran all five versions, both targets, from this branch:
php -rZend OPcache[::]:9000All PHP packages resolve from the new repo, for example
php8.5-cli 8.5.13-3+debsuryorg24.04.1+1andphp8.1-cli 8.1.34-15+debsuryorg22.04.1+1.php8.1-opcacheinstalls;php8.5-opcachedoes not exist and is not requested.composer --versionreports 2.11.2 in every image.FPM was started as a server, not just config-tested:
ready to handle connectionslogged,:2328listening in/proc/net/tcp6,fsockopen("[::1]", 9000)succeeds, anddocker kill -s QUITexits 0.Not tested
linux/arm64andlinux/arm/v7: no binfmt/QEMU on the test host, so cross builds cannot run there. The new repo publishes amd64, arm64 and armhf indexes for both suites, and CI covers those platforms.Note: one build failed transiently while packages.sury.org was mid-publish (
InReleasedeclared a 420970-bytePackages.gz, Fastly served 420959). It passed on retry once the index settled. This is unrelated to the change but can affect any run that starts right after an upstream publish.