{"id":23521248,"url":"https://github.com/leplusorg/docker-json","last_synced_at":"2026-05-24T06:01:35.859Z","repository":{"id":39860042,"uuid":"225689955","full_name":"leplusorg/docker-json","owner":"leplusorg","description":"Multi-platform Docker container with utilities to process JSON data (jq, jsonlint, prettyjson, jose, json2yaml...).","archived":false,"fork":false,"pushed_at":"2026-05-16T08:38:20.000Z","size":938,"stargazers_count":7,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-16T10:40:59.727Z","etag":null,"topics":["docker","docker-container","docker-image","dockerfile","jason2yaml","jose","jose-jwt","jq","json","json-manipulation","json-schema","json-to-yaml","json-to-yaml-convertor","jsonlint","jsonwebtoken","jwt","jwt-bearer-tokens","jwt-token","jwt-tokens"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/leplusorg/json","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leplusorg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-03T18:35:25.000Z","updated_at":"2026-05-16T08:38:23.000Z","dependencies_parsed_at":"2023-02-15T13:55:44.236Z","dependency_job_id":"60d9569a-8830-4362-81fd-70ef854c1be6","html_url":"https://github.com/leplusorg/docker-json","commit_stats":{"total_commits":84,"total_committers":4,"mean_commits":21.0,"dds":"0.23809523809523814","last_synced_commit":"02d80cfaef418a411584670d6bca2bc71824f6f2"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/leplusorg/docker-json","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leplusorg%2Fdocker-json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leplusorg%2Fdocker-json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leplusorg%2Fdocker-json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leplusorg%2Fdocker-json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leplusorg","download_url":"https://codeload.github.com/leplusorg/docker-json/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leplusorg%2Fdocker-json/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33423284,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-23T22:14:44.296Z","status":"online","status_checked_at":"2026-05-24T02:00:06.296Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-container","docker-image","dockerfile","jason2yaml","jose","jose-jwt","jq","json","json-manipulation","json-schema","json-to-yaml","json-to-yaml-convertor","jsonlint","jsonwebtoken","jwt","jwt-bearer-tokens","jwt-token","jwt-tokens"],"created_at":"2024-12-25T17:11:29.321Z","updated_at":"2026-05-24T06:01:35.850Z","avatar_url":"https://github.com/leplusorg.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JSON\n\nMulti-platform Docker container with utilities to process JSON data (`jq`, `jsonlint`, `prettyjson`, `jose`, `json2yaml`...).\n\n[![Dockerfile](https://img.shields.io/badge/GitHub-Dockerfile-blue)](json/Dockerfile)\n[![Docker Build](https://github.com/leplusorg/docker-json/workflows/Docker/badge.svg)](https://github.com/leplusorg/docker-json/actions?query=workflow:\"Docker\")\n[![Docker Stars](https://img.shields.io/docker/stars/leplusorg/json)](https://hub.docker.com/r/leplusorg/json)\n[![Docker Pulls](https://img.shields.io/docker/pulls/leplusorg/json)](https://hub.docker.com/r/leplusorg/json)\n[![Docker Version](https://img.shields.io/docker/v/leplusorg/json?sort=semver)](https://hub.docker.com/r/leplusorg/json)\n[![OpenSSF Best Practices](https://bestpractices.coreinfrastructure.org/projects/10070/badge)](https://bestpractices.coreinfrastructure.org/projects/10070)\n[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/leplusorg/docker-json/badge)](https://securityscorecards.dev/viewer/?uri=github.com/leplusorg/docker-json)\n\n## Example without using the filesystem\n\nLet's say that you have a file `foo.json` in your current working directory that you want to process with jq:\n\n**Mac/Linux**\n\n```bash\ncat foo.json | docker run --rm -i --net=none leplusorg/json jq '.'\n```\n\n**Windows**\n\n```batch\ntype foo.json | docker run --rm -i --net=none leplusorg/json jq '.'\n```\n\n## Example using the filesystem\n\nSame thing, assuming that you have a file `foo.json` in your current working directory that you want to process with jq:\n\n**Mac/Linux**\n\n```bash\ndocker run --rm -t --user=\"$(id -u):$(id -g)\" --net=none -v \"$(pwd):/tmp\" leplusorg/json jq '.' /tmp/foo.json\n```\n\n**Windows**\n\nIn `cmd`:\n\n```batch\ndocker run --rm -t --net=none -v \"%cd%:/tmp\" leplusorg/json jq '.' /tmp/foo.json\n```\n\nIn PowerShell:\n\n```pwsh\ndocker run --rm -t --net=none -v \"${PWD}:/tmp\" leplusorg/json jq '.' /tmp/foo.json\n```\n\n## Help\n\nTo know more command-line options of `jq`:\n\n```bash\ndocker run --rm --net=none leplusorg/json jq -h\n```\n\n## NPM Packages\n\nUse the `npx` command to run command-line tools coming from npm\npackages. This ensures isolation between the different packages\n(including potentially conflicting dependencies).\n\n## Software Bill of Materials (SBOM)\n\nTo get the SBOM for the latest image (in SPDX JSON format), use the\nfollowing command:\n\n```bash\ndocker buildx imagetools inspect leplusorg/json --format '{{ json (index .SBOM \"linux/amd64\").SPDX }}'\n```\n\nReplace `linux/amd64` by the desired platform (`linux/amd64`, `linux/arm64` etc.).\n\n## Provenance\n\nTo get the provenance for the latest image (in JSON format), use the\nfollowing command:\n\n```bash\ndocker buildx imagetools inspect leplusorg/json --format '{{ json .Provenance }}'\n```\n\n## Sigstore\n\n[Sigstore](https://docs.sigstore.dev) is trying to improve supply\nchain security by allowing you to verify the origin of an\nartifact. You can verify that the image that you use was actually\nproduced by this repository. This means that if you verify the\nsignature of the Docker image, you can trust the integrity of the\nwhole supply chain from code source, to CI/CD build, to distribution\non Maven Central or wherever you got the image from.\n\nYou can use the following command to verify the latest image using its\nsigstore signature attestation:\n\n```bash\ncosign verify leplusorg/json --certificate-identity-regexp 'https://github\\.com/leplusorg/docker-json/\\.github/workflows/.+' --certificate-oidc-issuer 'https://token.actions.githubusercontent.com'\n```\n\nThe output should look something like this:\n\n```text\nVerification for index.docker.io/leplusorg/xml:main --\nThe following checks were performed on each of these signatures:\n  - The cosign claims were validated\n  - Existence of the claims in the transparency log was verified offline\n  - The code-signing certificate was verified using trusted certificate authority certificates\n\n[{\"critical\":...\n```\n\nFor instructions on how to install `cosign`, please read this [documentation](https://docs.sigstore.dev/cosign/system_config/installation/).\n\n## Request new tool\n\nPlease use [this link](https://github.com/leplusorg/docker-json/issues/new?assignees=thomasleplus\u0026labels=enhancement\u0026template=feature_request.md\u0026title=%5BFEAT%5D) (GitHub account required) to request that a new tool be added to the image. I am always interested in adding new capabilities to these images.\n\n## Contributing\n\nPlease read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduct and the process for submitting pull requests.\n\n## Security\n\nPlease read [SECURITY.md](SECURITY.md) for details on our security policy and how to report security vulnerabilities.\n\n## Code of Conduct\n\nPlease read [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md) for details on our code of conduct.\n\n## License\n\nThis project is licensed under the terms of the [LICENSE](LICENSE) file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleplusorg%2Fdocker-json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleplusorg%2Fdocker-json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleplusorg%2Fdocker-json/lists"}