-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 packages #2886
Comments
Hi @stefanchrobot ! The official MUSL packages https://packages.timber.io/vector/0.9.2/vector-x86_64-unknown-linux-musl.tar.gz should work for you just fine. |
I wonder if we should add Alpine docs to our official guides in https://vector.dev/docs/setup/installation/operating-systems/ ? |
Is this ever used outside of the Docker context? I'm curious why someone would need these instructions if we offer a Docker alpine image for Vector. |
A lot of folks use Alpine as a Docker baseimage, perhaps folks are looking to bundle Vector into their images? |
This is exactly my use case. Being able to just drop |
Makes sense. Then yes @Hoverbear let's add Alpine to our list of supported operating systems. |
Great! |
Hi Folks I'm interested in this also. I've tried to package vector for Alpine but I'm hitting a compile problem and I'm not familiar with Rust:
I maintain some other unrelated Alpine packages and I'm willing to become the Alpine maintainer for vector. My reason for wanted to package it is not just for Docker use but also to run on Alpine-based physical machines and VMs as well. |
@dermotbradley Yeah! So, right now we basically just use our For a "true" alpine build you'd need dynamicly linked MUSL builds. I think we'll need to investigate our We're currently redoing our release process with cross #3657 #3701. So after that this kind of work should be a bit easier. :) |
Would it be inadvisable for @dermotbradley to set |
I use Alpine as the base for all my containers and always prefer to anchor it to specific versions, so I'd prefer to be able to use Alpine as my base image instead of the vector Alpine docker image, as I have no control over what version of Alpine it has been based on. So I'd really appreciate it if there was a vector package in the Alternatively, if you wanted to run your own Alpine repo, I'd be more than happy to just add it in. |
There has been a vector package in the Alpine "testing" repo for just over 1 year, however someone would need to move it to "community" for it to appear in the next Alpine release (3.20, due some time next month). https://pkgs.alpinelinux.org/package/edge/testing/x86_64/vector |
yeah - I saw that, thanks ... I would have just pulled it from there, but I just prefer to not have the In an ideal world, having the OEM maintain the package in the repo would be the preferred option. |
In Alpine it is not supported (and can cause problems) to use the testing repo with any release, the testing repo is part of Alpine Edge which is where the next release is developed (but only packages in main and community appear in a release). That is why I mentioned that if Vector was moved from Alpine Edge testing to Alpine Edge community in the near future then it would appear in Alpine 3.20 which is due for release around some time in May.
That would require someone from Vector to become an Alpine developer/maintainer and to request that the current Alpine vector package maintainer "hand over" maintainership to that person. |
Hi, great tool! Would you consider providing Alpine packages for vector?
I'm running my app on a PaaS, but I'd like to forward the logs to an external service. My app is running in a Docker container and logs to STDOUT. If I'm not mistaken, the setup that I'm using is the "sidecar" deployment strategy. My Docker CMD is going to be something like
run_app_cmd | vector --config vector.toml
. My Dockerfile is based on Alpine, but I'm not sure how to install vector (unless I'm mistaken, there's no package available). I plan to work around this by basing my image on thetimberio/vector:<version>-alpine
image, but that's not ideal (for example, it seems like I cannot pin Alpine to a specific version).The text was updated successfully, but these errors were encountered: