-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run Rover on Alpine images #537
Comments
Random drive-by comment: This is a great and pragmatic solution! I love it! Would it be reasonable for the curl installer (and maybe the npm installer) to print something in this case like "warning: you appear to be running on a platform without glibc, which is required to support the |
@glasser somehow just saw this comment, but good news! The PR I have up does just this 😊 |
The first steps outlined here have landed and will be released next Tuesday. |
It has become quite clear that there is high demand for running Rover on Alpine in production images due to Alpine's lightweight nature. Unfortunately with the introduction of
rover supergraph compose
, we stopped building fully static binaries for Linux since, well,rusty_v8
does not have prebuilt binaries forx86_64-unknown-linux-musl
.We want you to be able to use Rover in your Alpine images, but the constraints have forced our hand to a less-than-perfect solution. We've decided on first steps, but discussion is open on future steps!
First steps
Our first step will be to build binaries for
x86_64-unknown-linux-musl
that do not includerover supergraph compose
.This includes the following work:
rover supergraph compose
.If the feature is not enabled, running
rover supergraph compose
should error with:x86_64-unknown-linux-musl
with that feature disabledglibc
does not existglibc
does not existPossible future steps
musl
build, and shell out tonode
directly to run compositionmusl
buildrusty_v8
to build binaries formusl
A PR for first steps will come shortly, but it won't close this issue until we decide on possible future steps. If and when that future is decided, we will create a new issue and close this one.
The text was updated successfully, but these errors were encountered: