Skip to content

Optionally Run Cross Build? #18

@bitbier

Description

@bitbier

This is more a question and I'll tag it as such:

Is there a way to optionally check some kind of environment variable that if it exists, will not run cross-build-start? I ask because I've been trying to figure out a way of keeping the same Dockerfile for both building in CI (x86) and building on balena (ARM). Right now I have to have two separate Dockerfiles to build the same image minus the wrapping the installation code inside the

RUN [ "cross-build-start" ]
...
RUN [ "cross-build-end" ]

Thanks!

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