Skip to content

Enable brane build for Windows #277

@albatros13

Description

@albatros13

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.

BRANE for Windows brane-windows-x86_64.exe tries to build packages for Linux.

brane build [path to .yml] produces the following error (tested on https://github.com/nightmare224/brane-programming-project)

Image

It looks like it calls:

docker buildx build --output type=docker,dest=image.tar --tag preprocessing:1.0.0 --platform linux/x86_64 --build-arg BRANELET_ARCH=x86_64 --build-arg JUICEFS_ARCH=amd64

There is no documentation how to override the platform via options, the "brane build --arch" does not recognize windows/amd64 that docker buildx build would accept and no suitable options are listed in the documentation.

Describe the solution you'd like
A clear and concise description of what you want to happen.

Enable brane package building from Windows.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions