Skip to content

Demonstrate cross compiling a simple "Hello, world" Node based OCI image from an Arm Mac

Notifications You must be signed in to change notification settings

wburgin-anduril/bazel-nodejs-cross-compilation

Repository files navigation

bazel-nodejs-cross-compilation

Trying to demonstrate cross compiling a simple Linux OCI image from an Arm Mac.

Instructions

Run the build with the system's toolchain:

bazel build //pkgs/foo-app

Load and run the tarball:

docker load --input "$(bazel cquery //pkgs/foo-app --output=files)"
docker run bazel-nodejs-cross-compilation:latest

About

Demonstrate cross compiling a simple "Hello, world" Node based OCI image from an Arm Mac

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published