Meteor-feature-requests: Support for non-glibc Linuxes (Alpine, Void, etc)

Created on 17 Jun 2017  路  2Comments  路  Source: meteor/meteor-feature-requests

Migrated from: meteor/meteor#4573

Installer

Most helpful comment

I provided some ready docker images (and will for future meteor versions) at https://hub.docker.com/r/staeke/meteor-alpine/

All 2 comments

If it can helps, there is a alpine glibc image https://hub.docker.com/r/frolvlad/alpine-glibc/.

So far my Dockerfile looks like this:

FROM frolvlad/alpine-glibc

RUN apk add --no-cache curl bash python make gcc g++ git libuv tar bzip2
RUN curl -sSL https://install.meteor.com | sh
RUN curl -fL https://raw.githubusercontent.com/orctom/alpine-glibc-packages/master/usr/lib/libstdc++.so.6.0.21 -o /usr/lib/libstdc++.so.6
ENV METEOR_ALLOW_SUPERUSER=true

# FOR TEST PURPOSE
WORKDIR /tmp
RUN meteor create test

The problem I get from creating a meteor project is "[...] /usr/lib/libstdc++.so.6: no version information available [...]"
NOT ANYMORE thanks to https://github.com/orctom/alpine-glibc-packages
(notice the -o /usr/lib/libstdc++.so.6 without the ".0.21")

So far, creating a project in the container without error was a real thing.
And ... building the project worked well.

I'm not sure getting the libstdc++.so file like this is a reliable thing to do, but it works.

EDIT: added the missing so
EDIT: https://github.com/chneau/meteordocker/tree/alpine

I provided some ready docker images (and will for future meteor versions) at https://hub.docker.com/r/staeke/meteor-alpine/

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mwarren2 picture mwarren2  路  31Comments

SachaG picture SachaG  路  50Comments

mitar picture mitar  路  22Comments

turbobuilt picture turbobuilt  路  62Comments

scharf picture scharf  路  118Comments