This is an extension of Phusion Docker Base Image. Some added features are:
Jinja2 template files.As the name suggests, this image should be used as a base image to build other Docker images as normal.
By default, at startup and before any user's service started, the system look at
${MY_TEMPLATE_DIR} directory and
.zip extension and unpack each one of them to that
directory.j2 extension, render each of them using
Jinja2 template engine and save result to output file. The output file path is
the result of joining root directory (/) with the relative path of template
file from ${MY_TEMPLATE_DIR} directory. Here is an example| Input File | Output File |
|---|---|
| ${MY_TEMPLATE_DIR}/foo.tpl.j2 | /foo.tpl |
| ${MY_TEMPLATE_DIR}/usr/local/app/file.conf.j2 | /usr/local/app/file.conf |
| ${MY_TEMPLATE_DIR}/usr/local/app/bar.conf | NONE - File doesnt have .j2 extension is ignored |
The above behavior can be turn off by set
MY_TEMPLATE_ENABLEenvironment variable to "false"
Content type
Image
Digest
Size
125.6 MB
Last updated
over 7 years ago
docker pull binhnv/base