Sign inSign up

koshatul/docker-render-template

By koshatul

•Updated over 8 years ago

Docker container for rendering templates with environment variables.

Image
0

300

koshatul/docker-render-template repository overview

⁠docker-render-template

Docker container for rendering templates with environment variables.

⁠Usage

Create a template file and use environment variables to assign values.

test.template:

test = {{ TEST_MESSAGE }}

Command:

cat test.template | docker run -i --env "TEST_MESSAGE=testing" --rm koshatul/docker-render-template > test.render

Result:

test = testing

Tag summary

Content type

Image

Digest

Size

13.8 MB

Last updated

over 8 years ago

docker pull koshatul/docker-render-template