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

Any plans to support Alpine Linux? #59

Closed
twoism-dev opened this issue Feb 6, 2016 · 28 comments
Closed

Any plans to support Alpine Linux? #59

twoism-dev opened this issue Feb 6, 2016 · 28 comments

Comments

@twoism-dev
Copy link

See also #35

@deepj
Copy link

deepj commented Feb 8, 2016

Yes, it'd be very useful for more people here. Thank you for your time on spending on this support!

@wagenet
Copy link
Contributor

wagenet commented Feb 17, 2016

We'll look into what it would take to support it. How soon we can do it depends on the required effort.

@loicboutet
Copy link

I would need the Alpine support as well. Any update?

@Micka33
Copy link

Micka33 commented Sep 29, 2016

Hi guys !

At Effilab, our ECS cluster runs fully on Alpine-linux.
Any news on Alpine-linux support ?

@franzejr
Copy link

I would be thrilled with this support..Looking forward to see this too.

@LouisKottmann
Copy link

With Alpine being the recommended docker base image, as more apps get containerized, I believe this is mandatory for your business...

@deepj
Copy link

deepj commented Sep 29, 2016

@LouisKottmann I agree!

@adilbenseddik
Copy link

adilbenseddik commented Sep 29, 2016

mmh..
CC=musl-gcc ./configure
prefix=/usr/local/musl
http://wiki.musl-libc.org/wiki/Main_Page

@wagenet
Copy link
Contributor

wagenet commented Sep 29, 2016

@adilbenseddik it's a bit more complex that that. However, we are working on it and hope to have something available soon.

@adilbenseddik
Copy link

@wagenet was kidding.. I bet you have more issues to address.. yet, we're really eager to see your app up and running!! 👍 (I'm I wrong if I say you struggle with upgrading your c++ code to musl libc ??)

@wagenet
Copy link
Contributor

wagenet commented Sep 30, 2016

@adilbenseddik fortunately, we're using Rust and it actually has pretty good support for musl. I believe I've got everything working, but need a little bit more internal testing before we release.

@adilbenseddik
Copy link

hey!! @wagenet that sounds really great!! do you think we could have a pre-release aka. staging of your app? here at Effilab we are pretty serious about implementing your solution in our stack, so we may help you with ad hoc (client) feedback, and further (specific) tests results.. ??

@dlupu
Copy link

dlupu commented Oct 3, 2016

looking forward for the release. this is something we're clearlt missing also on our project.

@wagenet
Copy link
Contributor

wagenet commented Oct 5, 2016

I just pushed out an initial stab at musl support to the master branch in this repo. If any of you would be up for testing it, that would be awesome. I did some basic tests on Alpine and it seems to work fine, but we don't use Alpine ourselves, so it's entirely possible that we missed some things.

@LouisKottmann
Copy link

Hello @wagenet, I'm the tester, on it.

@LouisKottmann
Copy link

So it does not work on my end, I can send you the puma log if you like (contains the core dump as well)

@tombruijn
Copy link

Hi Tom from @appsignal here,

We're running into the same issue with our extension written in Rust. We tried to compile it with musl (the libc replacement Alpine linux uses), but no luck. Our agent runs fine, but the library we install in our Ruby gem as a native extension does not link properly.

We traced it back to a Rust issue with support for musl, reported here rust-lang/rust#37007

Hope this helps!

@wagenet
Copy link
Contributor

wagenet commented Oct 7, 2016

@LouisKottmann any information you can provide would be great.

@LouisKottmann
Copy link

@wagenet I've sent it by mail to you

@jlambert121
Copy link

Does rust-lang/rfcs#1721 allow this to be resolved now?

@ryansch
Copy link

ryansch commented Jan 31, 2017

I just tried to install the skylight gem on a rails app inside of an alpine linux 3.4 container and I get a ruby segfault when I try to start rails. I'm looking forward to progress in this area. Back to debian for now.

@nomasprime
Copy link

I've also just run into this.

@wagenet
Copy link
Contributor

wagenet commented Feb 15, 2017

@ryansch @habitullence is your error the same as #91?

@wagenet
Copy link
Contributor

wagenet commented Feb 15, 2017

This should work in current master. If you're having problems, please create a new issue.

@wagenet wagenet closed this as completed Feb 15, 2017
@ababich
Copy link

ababich commented Feb 15, 2017

I already confirmed in #91 that SEGFAULT is alpine-to-skylight compatibility issue and its fairly easy to reproduce

switching to debian based ruby image fixes the issue

@wagenet
Copy link
Contributor

wagenet commented Feb 16, 2017

Others can follow the discussion in #91 but I can say for a fact that Skylight does work on at least some Alpine setups. I suspect the specific issue in #91 is related to the Docker image itself. This is not an uncommon issue when using Docker.

@wagenet
Copy link
Contributor

wagenet commented Feb 16, 2017

@habitullence with any luck, this fixes your issue: 138bb9a

@nomasprime
Copy link

nomasprime commented Feb 16, 2017

Thanks @wagenet 🙂

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

No branches or pull requests