mhart / alpine-node

Minimal Node.js Docker Images built on Alpine Linux

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gRPC issue on node8

gl-lamhnguyen opened this issue · comments

I was trying to run Meteor RocketChat from node8 image and got the following error:

Failed to load gRPC binary module because it was not installed for the current system
Expected directory: node-v57-linux-x64-musl
Found: [node-v46-linux-x64-glibc]

Not sure what to do here?

Alpine doesn't have glibc by default, it uses musl – more info here: https://github.com/mhart/alpine-node#caveats

It's an issue with gRPC, see here: grpc/grpc#10560

Thanks for reply. Is it something I can find a work around or I have to find another base image?

It should work with any glibc based image – like docker run node:8