Sign inSign up

ksonnet/ksonnet-lib

By ksonnet

Updated about 9 years ago

Official image bundling ksonnet-lib and Jsonnet

Image
1

10K+

ksonnet/ksonnet-lib repository overview

A Docker image that allows you to run Jsonnet to compile a file in your local directory that uses ksonnet-lib. Specifically, this image contains:

  1. Jsonnet, added to /usr/local/bin
  2. ksonnet-lib, added to the Jsonnet library paths, so you can compile against the ksonnet libraries without specifying the -J flag.

USAGE: Define a function like ksonnet below, and then run:

ksonnet <jsonnet-file-and-options-here>

ksonnet() {
  docker run -it --rm   \
    --volume "$PWD":/wd \
    --workdir /wd       \
    ksonnet             \
    jsonnet "$@"
}

Tag summary

Content type

Image

Digest

Size

89.9 MB

Last updated

about 9 years ago

docker pull ksonnet/ksonnet-lib