build(docker): pin builder stage to native build platform #64
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "build/native-builder-platform"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The Jekyll output is architecture-independent static HTML, but the
builder stage was running under QEMU emulation for the linux/arm64 leg
of the multi-arch buildx build. Under emulation, sass-embedded (pulled
in by jekyll-sass-converter) crashes at load: its dart-sass loader
probes the host ELF and fails.
Pin the builder stage to --platform=$BUILDPLATFORM so the site is built
once on the native platform, sidestepping the emulated build entirely.
The multi-arch split remains only on the runtime stage that copies the
already-built _site.