Skip to content

Install PHP from packages.sury.org instead of the Launchpad PPA - #422

Merged
moufmouf merged 1 commit into
v5from
feat/sury-org-repository
Oct 21, 2026
Merged

moufmouf merged 1 commit into
v5from
feat/sury-org-repository

Conversation

@moufmouf

Copy link
Copy Markdown
Member

Ondřej Surý now publishes the PHP packages for Ubuntu on packages.sury.org. This switches the slim images from the Launchpad PPA to that repository.

Changes

  • utils/Dockerfile.slim.blueprint and the generated Dockerfile.slim.{cli,fpm,apache} (identical output from make blueprint): replace add-apt-repository ppa:ondrej/php with the official setup: install the debsuryorg-archive-keyring package, then add https://packages.sury.org/php/ ${VERSION_CODENAME} main with signed-by. The codename comes from /etc/os-release, so nothing needs editing when the Ubuntu base changes.
  • software-properties-common is no longer installed and then purged.
  • README: link to packages.sury.org instead of Launchpad.

Testing

  • Built Dockerfile.slim.cli locally with PHP_VERSION=8.4 on amd64: PHP 8.4.26 installed from sury.org (8.4.26-1+0~20260925.56+ubuntu24.04~1.gbp80d95d).
  • On 2026-10-21, both repositories had the same versions for noble on amd64 and arm64 (8.2.34 / 8.3.35 / 8.4.26 / 8.5.11). CI will cover fpm, apache and arm64.

🤖 Generated with Claude Code

Ondřej Surý now publishes the PHP packages for Ubuntu on
packages.sury.org. Use it with the official keyring package instead of
add-apt-repository ppa:ondrej/php, which also removes the need to
install and purge software-properties-common.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@moufmouf
moufmouf merged commit fbc8ade into v5 Oct 21, 2026
25 checks passed
@moufmouf
moufmouf deleted the feat/sury-org-repository branch October 21, 2026 14:19
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.

1 participant