Skip to content
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

Alpine Linux base image #62

Open
oxr463 opened this issue Dec 16, 2019 · 2 comments
Open

Alpine Linux base image #62

oxr463 opened this issue Dec 16, 2019 · 2 comments

Comments

@oxr463
Copy link

oxr463 commented Dec 16, 2019

Problematic Docker Image: N/A

Please state what is missing:

Per #28 (comment), I would like to see an Alpine Linux based image.

I am willing to collaborate on this, since I recently worked on upgrading the emcripten package upstream, but it had some issues failing the tests and was disabled, (See: https://gitlab.alpinelinux.org/alpine/aports/issues/10995).

@trzecieu
Copy link
Owner

Hi @oxr463 once I've tried to approach alpine, but frankly I've failed. It was when I've made a multi-stage build, and simple tried to re-use product of compilation. Don't remember what was the issue.

Today I think will be better to following images (that base of pre-compiled emscripten tool chain, which is nicely optimized already):

I can take a look that in 2 weeks, but if you would find some time for adopting that would be grate, and I think this could be contributed upstream to emscripten-core/emsdk

@Evengard
Copy link

Evengard commented Jul 14, 2020

I've actually managed to make it work by using a glibc based Alpine image (aka https://hub.docker.com/r/frolvlad/alpine-glibc/ )
It was as easy as apk add git cmake python3 make , pulling emsdk, installing with it and just using it. It did have some weird warnings but overall seems to work fine.

Anyway, the key seems to be using glibc instead of musl, as musl doesn't play well with emsdk...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants