Skip to content

Add curl to redis docker image #406

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

Open
guoard opened this issue Aug 3, 2024 · 2 comments
Open

Add curl to redis docker image #406

guoard opened this issue Aug 3, 2024 · 2 comments
Labels
Request Request for image modification or feature

Comments

@guoard
Copy link

guoard commented Aug 3, 2024

Redis Sentinel mode includes a configuration option that allows notifications (to an administrator or client) when a failover occurs. This feature is documented in the sentinel.conf.

When attempting to utilize this notification feature, I encountered a problem: curl is not installed in the image. I also attempted to use wget to send an HTTP request, but the wget included with busybox cannot handle HTTPS proxies.

Could curl be added to the redis docker image? This would enable the notification feature to function correctly by allowing HTTP requests to be sent reliably.

Thank you!

@adamiBs adamiBs added the Request Request for image modification or feature label Mar 26, 2025
@adamiBs
Copy link
Collaborator

adamiBs commented Apr 14, 2025

Did you attempt to use the image as the base image, and customize it?

@guoard
Copy link
Author

guoard commented Apr 14, 2025

@adamiBs Yes, I did try using the official image as a base and adding curl, but maintaining a custom image adds overhead. We’d need to rebuild and test it with every Redis release, ensure multi-arch compatibility, and manage the CI/CD pipeline for it.

Including curl in the official image would make Sentinel's notification feature usable out of the box, with minimal added weight. It’s a small change that would simplify things for many users.

Thanks for considering it!

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

No branches or pull requests

2 participants