Skip to content

Alpine Linux Install #630

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

Closed
krisread opened this issue Jul 12, 2019 · 6 comments · Fixed by #659
Closed

Alpine Linux Install #630

krisread opened this issue Jul 12, 2019 · 6 comments · Fixed by #659
Labels
type: task Generic non-code related tasks

Comments

@krisread
Copy link

For those using docker images based on Alpine (extremely popular) what's the installation path? Wondering if this is on the roadmap.

@binarylogic binarylogic added Core: Workflow type: task Generic non-code related tasks labels Jul 13, 2019
@binarylogic
Copy link
Contributor

Hey @krisread, I believe we'll need to compile using musl to support Alpine Linux. We had issues compiling the leveldb and rdkafka libraries for that platform. To be specific, I had issues, and this is a little outside of my expertise. It's very possible, and it something we will support, but unfortunately it wasn't something I could solve.

I'm in the process of finding someone to help with compiling these libraries across a number of platforms (including musl). If you can help, or know anyone, that would be very helpful. Otherwise, we expect to resolve this in the next few weeks.

@LucioFranco
Copy link
Contributor

The other bigger issue is that jemalloc is not currently supported on musl either. Is there anyway you can use debian based images that are still pretty slim?

@krisread
Copy link
Author

I understand this is tough. I feel like the point of a log aggregator is to consistently collect logs from many potentially different images, OS-es, teams or projects. So for a bigger company, they are bound to have different types of images in the wild, with many existing Dockerfiles that may have to be completely re-authored from scratch if switching OS, with incompatibilities to resolve in other dependencies or installing other packages on the image etc. Odd choice to write Vector in a way that isn't portable from day 1 just my 2c.

@binarylogic
Copy link
Contributor

Hey @krisread, we definitely agree. We will support Alpine Linux as well as a variety of other targets. To be honest, we were not aware we'd have so much trouble with leveldb and rdkafka. We do know it is possible to compile those for a variety of targets, and we'll get that solved.

In the interim, we're probably going to release preliminary versions that have those features disabled, because a lot of use cases don't need them. We'll make that clear in the docs.

@binarylogic
Copy link
Contributor

This is resolved now, but with the caveat that on-disk buffers and the kafka sink are not enabled, which should be fine for many use cases. A stop gap until we can get those resolved.

@binarylogic
Copy link
Contributor

Hey @krisread, thanks to the excellent work over in #689 we have a single fully static binary and have released an alpine image. Hope that helps.

@binarylogic binarylogic added this to the Support more targets milestone Sep 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: task Generic non-code related tasks
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants