TheCatLady / docker-webhook

A lightweight, minimal webhook container ⚓
https://hub.docker.com/r/thecatlady/webhook
MIT License
101 stars 22 forks source link

feat(build): add jq to Docker image #128

Closed danshilm closed 1 year ago

danshilm commented 1 year ago

Adds jq, which is super useful to parse JSON from webhook requests, to the Docker image.

TheCatLady commented 1 year ago

So, adnanh/webhook can already parse JSON payloads: https://github.com/adnanh/webhook#multipart-form-data 🤔

I would prefer to keep this image as minimal/tiny as possible, but I'm not completely against adding jq if there's sufficient justification for it.

danshilm commented 1 year ago

jq comes in very handy for me when I have to parse JSON to make API requests in my bash scripts since unfortunately not all values required to make those API requests are available in the initial payload that the webhook server handles.