Skip to content

--build-arg behavior differs from docker build #113

@cpuguy83

Description

@cpuguy83

With the docker CLI, --build-arg FOO will pass the value of $FOO to the build arg. If FOO is unset then no value is passed.
With buildx an empty string is always set.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions