You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, when building Rover for Alpine Linux, we disable the rover supergraph compose command. This is because the underlying composition function is written in JavaScript, and we use rusty_v8 under the hood to execute this function. Unfortunately, rusty_v8 is only built to dynamically link against glibc >= 2.18, which is incompatible with Alpine as it requires all binaries to be statically linked and built with musl-libc.
We want to support running all Rover commands on Alpine, this issue is meant to track discussion about possible paths towards that future.
Bundle the JavaScript file that does composition with the musl build, and shell out to node directly to run composition
This one is kinda rough but might be the easiest option. The idea is that you'd require node to be installed as a runtime dependency.
Installing node on Alpine can be a bit of a hassle (though there are images for it)
Create a cloud function that executes composition and use that with the musl build
If we do this, we may want to add a --cloud flag to rover supergraph compose on other builds so anybody can run the same composition algorithm that the Apollo Graph Registry runs
Currently, when building Rover for Alpine Linux, we disable the
rover supergraph compose
command. This is because the underlying composition function is written in JavaScript, and we userusty_v8
under the hood to execute this function. Unfortunately,rusty_v8
is only built to dynamically link againstglibc >= 2.18
, which is incompatible with Alpine as it requires all binaries to be statically linked and built withmusl-libc
.We want to support running all Rover commands on Alpine, this issue is meant to track discussion about possible paths towards that future.
--cloud
flag torover supergraph compose
on other builds so anybody can run the same composition algorithm that the Apollo Graph Registry runsThe text was updated successfully, but these errors were encountered: