Sign inSign up

euranova/jq

By euranova

•Updated over 9 years ago

A docker image to use jq without installing it...

Image
1

8.2K

euranova/jq repository overview

⁠Docker JQ Image

This Docker image provides you with a way to use jq⁠ without the need installing it.

⁠Usage

This image is based on Alpine Linux⁠ 3.5 to be lightweight and install jq 1.5

To use it, replace the usual jq command by the following:

docker run -i --rm  euranova/jq[optional_tag] jq [your_filter]

For example:

curl 'https://api.github.com/repos/stedolan/jq/commits?per_page=1' | docker run -i --rm euranova/jq jq .[0].commit

which retrieve the latest commit from the jq repo and display the commit field (Do not forget the rm flag to avoid keeping exited containers).

Tag summary

Content type

Image

Digest

Size

3.1 MB

Last updated

over 9 years ago

docker pull euranova/jq