Skip to content

revert(universal): drop PHP rebuild override now that upstream ships patched PHP - #347

Merged
matifali merged 1 commit into
mainfrom
revert-universal-php-override
Nov 12, 2026
Merged

matifali merged 1 commit into
mainfrom
revert-universal-php-override

Conversation

@matifali

@matifali matifali commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

Summary

Upstream now ships patched PHP, so our temporary rebuild override from #343 is no longer needed. The fix landed in devcontainers/images@088f414 (devcontainers/images#2059), which pins PHP 8.5.12 / 8.4.27, and shipped in release v0.4.37. mcr.microsoft.com/devcontainers/universal:noble is now that release.

Changes

  • Remove the PHP rebuild-from-source step (and its PHP_* ARGs) from images/universal/ubuntu.Dockerfile.
  • Keep the session.upload_progress.enabled=0 hardening from chore(universal): disable PHP session upload progress #344; it applies to every /usr/local/php/[0-9]* version in the upstream install.

Validation

  • mcr.microsoft.com/devcontainers/universal:noble: dev.containers.release=v0.4.37, created 2026-10-28. /usr/local/php contains 8.4.27, 8.5.12, current; php -v reports 8.4.27.
  • docker build -f images/universal/ubuntu.Dockerfile images/universal succeeds. In the built image, the user is coder, php -v reports 8.4.27, and session.upload_progress.enabled is 0 for both 8.4.27 and 8.5.12.
  • dprint check passes.

Closes: CLIENT-1060

🤖 This PR was created with the help of Coder Agents, and needs a human review. 🧑💻

…patched PHP

The upstream devcontainers/universal:noble image (release v0.4.37) now ships PHP 8.5.12 and 8.4.27, so rebuilding PHP from source is no longer needed. The session.upload_progress hardening step is kept.
@matifali matifali self-assigned this Nov 11, 2026
@linear-code

linear-code Bot commented Nov 11, 2026

Copy link
Copy Markdown

CLIENT-1060

@matifali
matifali requested a review from cjfit November 11, 2026 11:30

@Lisa-Fiander Lisa-Fiander left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@matifali
matifali merged commit c3be373 into main Nov 12, 2026
2 checks passed
@matifali
matifali deleted the revert-universal-php-override branch November 12, 2026 14:59
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.

2 participants