Files
OpenShell/crates/openshell-bootstrap
Shiju 884d4ed5c1 fix(bootstrap): set docker build platform args (#1761)
Docker BuildKit exposes TARGET* for the requested image platform. It exposes
BUILD* for the daemon running build stages. The bootstrap path did not pass an
explicit platform or seed those args, so Dockerfile behavior could depend on daemon defaults.

Set the build request platform from TARGETPLATFORM when supplied. Use the daemon
platform as the fallback. Query the daemon for BUILD*. Seed implicit args without
overwriting caller values. Do not inject empty variant args.

Tests

- mise run pre-commit

Signed-off-by: Shiju <shiju@nvidia.com>
2026-06-04 13:40:16 -07:00
..