Docker image for:
We now support automaticlly update each npm packages, check diary and will put CHANGELOG in top.
docker pull sahsu/jsonlint
docker run -it --rm --name jsonlint -v "${DEST_JSON_DIRECTORY}:/src/" sahsu/jsonlint {jsonlint | jsondiffpatch } ${JSON_FILE}
jd () {
sudo docker run -t --rm -v `pwd`:/src sahsu/docker-jsonlint jsondiffpatch /src/$1 /src/$2
}
cd ${JSON_FILE_DIRECTORY}
sudo docker run --rm --name jsonlint -v `pwd`:/src/ sahsu/docker-jsonlint jsonlint JSON_A.json
sudo docker run --rm --name jsonlint -v `pwd`:/src/ sahsu/docker-jsonlint jsondiffpatch JSON_A.json JSON_B.json | less
sudo docker run --rm --name jsonlint -v `pwd`:/src/ sahsu/docker-jsonlint json-minify JSON_A.json
docker run -v `pwd`:/src/ --rm sahsu/docker-jsonlint yamllint /src/q.yaml
you should see ✔ YAML Lint successful. otherwise you will see which section is fail.
Content type
Image
Digest
sha256:7aa91e298…
Size
36.1 MB
Last updated
over 7 years ago
docker pull sahsu/docker-jsonlint