This repository provides the Dockerfile to create an image, which can be used for Jinja2 Templating, including the CLI. More info at https://jinja.palletsprojects.com/en/2.11.x/.
- A docker host to build it manually or access to Azure DevOps to build it automatically with the azure-pipelines.yml file.
Build the docker image:
docker image build -t dgpublicimagesprod.azurecr.io/planetexpress/jinja2-templating:latest .
Use the docker image to use the j2 CLI:
# Mount the j2 template into the container and adjust the command accordingly
docker container run -it dgpublicimagesprod.azurecr.io/planetexpress/jinja2-templating:latest /bin/sh -c 'j2 -f json ...'
No matter how small, we value every contribution! If you wish to contribute,
- Please create an issue first - this way, we can discuss the feature and flesh out the nitty-gritty details
- Fork the repository, implement the feature and submit a pull request
- Add yourself to the CONTRIBUTORS.txt file in that pull request
- Your feature will be added once the pull request is merged