Docker image for google/jsonnet - The data templating language. Includes jsonnet-bundler with auto-resolving jsonnet dependencies.
Mount the jsonnet files to /src
in the container.
Existing jsonnetfile.json
dependencies will be installed and the jsonnet file compiled.
If the jsonnetfile.json
file is not directly located in the mounted folder
you can change the basedir with the BASEDIR argument. All entrypoint commands
(jb
, jsonnet
, jsonnetfmt
) will be relative to /src/${BASEDIR}
(or ${BASEDIR}
if
specified as absolute path).
docker run --rm -it -v $(pwd):/src pagerinc/jsonnet ${ARGS}