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

Adding curl to docker image #17

Open
mpflanzer opened this issue Feb 16, 2025 · 3 comments
Open

Adding curl to docker image #17

mpflanzer opened this issue Feb 16, 2025 · 3 comments

Comments

@mpflanzer
Copy link

Hi,

So far I added curl myself to the container image to be able to report spam to rspamd. But as since 2.4.0 apt is no longer part of the image I cannot install it anymore.
Would you consider adding curl to image or otherwise maybe also publish an image that doesn't execute the dpkg --remove?

Cheers,
Moritz

@cmouse
Copy link
Contributor

cmouse commented Feb 16, 2025

Guess we could.

@schildbach
Copy link

@mpflanzer What do you need curl for? If it's for a docker health check, there is now netcat.

@mpflanzer
Copy link
Author

No, not for a health check. To report spam to rspamd which is running as a separate container. Inspired by the script here: https://github.com/darix/dovecot-sieve-antispam-rspamd/blob/821286a4cb5671bc39a181bff6c1dffbbdf9fe37/learn-spam.rspamd.script#L80

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

No branches or pull requests

3 participants