Sign inSign up

dcagatay/j2cli

By dcagatay

Updated almost 7 years ago

j2cli docker image

Image
0

100K+

dcagatay/j2cli repository overview

dcagatay/j2cli

Docker Cloud Automated build Docker Cloud Build Status MicroBadger Size MicroBadger Layers Docker Pulls

j2cli executable as a Docker image.

Available Tags:

Usage

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

Tag summary

Content type

Image

Digest

Size

35 MB

Last updated

almost 7 years ago

docker pull dcagatay/j2cli