This Docker image features a minimal jq setup. Inspired by mwendler/jq, this image is also based on alpine and sized just over 10MB.
First, you can access the brief help message by:
$ docker run --rm shinkou/jq
Next, you can pipe in some input:
$ curl 'https://api.bitbucket.org/2.0/repositories/shinkou/docker-builds/commits' | docker run -i --rm shinkou/jq -r '.values[] | .hash'
Finally, you can create an alias to ease more regular usage:
$ alias jq='docker run -i --rm shinkou/jq'
$ curl 'https://api.bitbucket.org/2.0/repositories/shinkou/docker-builds/commits' | jq -r '.values[] | .hash'
Content type
Image
Digest
sha256:54c437996…
Size
7.1 MB
Last updated
6 months ago
docker pull shinkou/jq