Skip to content

nodejs_image is not cross platform #466

Closed

Description

@alsutton

https://bazel.build/ states; "Bazel runs on Windows, macOS, and Linux.", but #458 was closed indicating that nodejs_image does not support macOS, which means we can't use Bazel to build and test some of our services on engineers laptops because they're Macs.

I'm opening this issue to track bringing nodejs_image in-line with the stated Bazel functionality of running on Windows, macOS, and Linux.

Activity

  1. nlopezgi commented on Jul 24, 2018

    @nlopezgi
    Contributor

    Bazel supports running windows tools on windows, mac tools on mac, and linux tools on linux. Unfortunately, Bazel does not currently support running linux tools on mac (or on windows), which is what is required for xx_image rules to support the use case you need. Effectively, what Bazel is currently trying to do, is run tools that are compatible with your mac inside a linux based container.

    Closing issue as this cannot be resolved on xx_image rules until Bazel and rules upstream (e.g., nodejs rules for nodejs_image containers) have been updated to support cross-platform host/execution build environments.

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

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