Skip to content

docs: select one platform for local static builds - #2805

Merged
henderkes merged 1 commit into
php:mainfrom
opctim:feature/fix-static-build-platform
Nov 3, 2026
Merged

henderkes merged 1 commit into
php:mainfrom
opctim:feature/fix-static-build-platform

Conversation

@opctim

@opctim opctim commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

The documented bake --load commands inherit both Linux platforms from the static-builder target. This fails with Docker exporters that cannot export manifest lists.

Select the machine's architecture explicitly with --set "*.platform=linux/$(uname -m)" in all three examples, including Xdebug, and explain why. The release build matrix remains unchanged.

Validation:

  • Reproduced the exporter error with an isolated multi-platform build.
  • Verified single-platform Docker archive exports for Linux amd64 and arm64.
  • Checked both Bake targets, shell syntax and Markdown lint.

Fixes #2801.

@henderkes
henderkes merged commit bd77d27 into php:main Nov 3, 2026
11 checks passed
@henderkes

Copy link
Copy Markdown
Contributor

Thanks!

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.

Building static FrankenPHP in the supplied Docker image fails

3 participants