Skip to content

pagerinc/docker-jsonnet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-jsonnet

Docker image for google/jsonnet - The data templating language. Includes jsonnet-bundler with auto-resolving jsonnet dependencies.

Usage

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}