dunglas / mercure

🪽 An open, easy, fast, reliable and battery-efficient solution for real-time communications
https://mercure.rocks
GNU Affero General Public License v3.0
3.98k stars 297 forks source link

Package Mercure for Alpine Linux #972

Open erseco opened 2 weeks ago

erseco commented 2 weeks ago

Request to create an Alpine Linux-compatible package for the Mercure.rocks hub. Given Alpine's popularity in lightweight and containerized environments, having a dedicated package will simplify deployment and improve compatibility.

Alpine's widespread use in containers makes native support valuable for seamless deployments.

dunglas commented 2 weeks ago

Hi, that would be great but to be honest I've no idea how to do that. That should be quite easy as Mercure is a pure-Go program that compiles as a static binary.

Would you be able to provide any guidance, or would you be open to doing it (I can help of course)?

erseco commented 2 weeks ago

Hi @dunglas, thank you for your response. I made a PR to set this up here. The PR builds Linux packages for the main distributions, simplifying deployments in lightweight and containerized environments.

To achieve this, I used fpm within goreleaser to build .deb, .rpm, and .apk Alpine packages . I'm happy to iterate on it or address any feedback you may have!