Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pagerinc/docker-jsonnet
Docker image for google/jsonnet - The data templating language
https://github.com/pagerinc/docker-jsonnet
docker-image infrastructure-as-code ops
Last synced: 3 months ago
JSON representation
Docker image for google/jsonnet - The data templating language
- Host: GitHub
- URL: https://github.com/pagerinc/docker-jsonnet
- Owner: pagerinc
- License: mit
- Archived: true
- Created: 2019-07-02T20:38:42.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-10-12T04:08:17.000Z (over 1 year ago)
- Last Synced: 2024-11-14T14:08:02.609Z (3 months ago)
- Topics: docker-image, infrastructure-as-code, ops
- Language: Dockerfile
- Homepage: https://jsonnet.org
- Size: 19.5 KB
- Stars: 0
- Watchers: 12
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-jsonnet
Docker image for [google/jsonnet](http://jsonnet.org/) - The data templating language.
Includes [jsonnet-bundler](https://github.com/jsonnet-bundler/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}
```