Sign inSign up

nubisproject/nubis-jq

By nubisproject

Updated over 8 years ago

Container with jq

Image
0

221

nubisproject/nubis-jq repository overview

nubis-jq

This is a small docker container (5.11MB) containing jq.

Run it like:

echo "{\"key\":\"value\"}" | docker run -i nubis-jq jq .

or

echo "{\"key\":\"value\"}" | docker run -i nubis-jq jq --raw-output .key

Or in a script like:

NUBIS_DEPLOY_VERSION=$(curl -k -s -S \
    "https://registry.hub.docker.com/v1/repositories/nubisproject/nubis-deploy/tags"\
    | docker run -i nubis-jq jq --raw-output '.[]["name"]' \
    | sort --field-separator=. --numeric-sort --reverse \
    | grep -m 1 "^v")
DOCKER_IMAGE="nubisproject/nubis-deploy:${NUBIS_DEPLOY_VERSION}"
echo "DOCKER_IMAGE: ${DOCKER_IMAGE}"

Tag summary

Content type

Image

Digest

Size

2.3 MB

Last updated

over 8 years ago

docker pull nubisproject/nubis-jq:develop