Skip to content

Add docs for --platform=local #1575

@jedevc

Description

@jedevc

Added in #70.

We make use of this in buildx's docker-bake.hcl:

buildx/docker-bake.hcl

Lines 101 to 106 in ded6376

target "binaries" {
inherits = ["_common"]
target = "binaries"
output = ["${DESTDIR}/build"]
platforms = ["local"]
}

However, this feature probably isn't known to most users (it was definitely new to me!) - we should add more docs around this 🎉

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions