Migrated from: meteor/meteor#4573
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/
Most helpful comment
I provided some ready docker images (and will for future meteor versions) at https://hub.docker.com/r/staeke/meteor-alpine/