Skip to content

Add support for --build-context argument to unikraft build #371

Description

@jedevc

We already support for most of the same args as docker buildx build - we should make it complete, I think the big remaining one is unikraft build --build-context. See **https://docs.docker.com/build/concepts/context/.

For implementation details, this is originally done in buildx around here: https://github.com/docker/buildx/blob/3e413a05dfef87849f252fc85be7e07f32d75b99/build/build.go#L112-L112

We'd need to grab some of this parsing logic (maybe via imports, maybe vendoring if we can't), then making sure we support setting build contexts.

Also we should have tests around the rest of the build tests.

Internal issue: https://linear.app/unikraft/issue/TOOL-831/add-support-for-build-context-to-unikraft-build

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions