This is an alpine image including both curl and jq. you can call the combo curl XXX | jq with the command jcurl.
Code source in https://github.com/kalioz/alpine-curl-jq
Image available at https://hub.docker.com/r/kalioz/curl
In Docker :
$ docker run --rm kalioz/curl jcurl https://httpbin.org/get
{
"args": {},
"headers": {
"Accept": "*/*",
"Host": "httpbin.org",
"User-Agent": "curl/7.80.0",
"X-Amzn-Trace-Id": "Root=1-6227634e-424127d6568b9cee15610bd1"
},
"origin": "212.114.24.201",
"url": "https://httpbin.org/get"
}
In Kubernetes :
kubectl run -it --rm --image=kalioz/curl kubectl-run-${USER}
Content type
Image
Digest
Size
4.9 MB
Last updated
over 4 years ago
docker pull kalioz/curl