j2cli executable as a Docker image.
Available Tags:
In order to use it you need to map j2 files or directories containing j2 files and data files as volumes.
docker run --rm -it -v "$PWD:/app" dcagatay/j2cli config.j2 data.json
Environment variables can be injected with env file or as environment variables while running docker run.
env > /tmp/current.env
docker run --env-file /tmp/current.env --rm -it -v "$PWD:/app" dcagatay/j2cli config.j2
docker run -e "AN_ENV_VAR=with-value" --rm -it -v "$PWD:/app" dcagatay/j2cli config.j2
For more usage examples: kolypto/j2cli
Content type
Image
Digest
Size
35 MB
Last updated
almost 7 years ago
docker pull dcagatay/j2cli