docker_pkg.dockerfile

Dockerfile.template processing

The files are Jinja2 templates, the class provides built-in templates to ease writing Dockerfiles.

Functions

from_template(path, name)

Classes

TemplateEngine(path)

class docker_pkg.dockerfile.TemplateEngine(path)[source]

Bases: object

known_images = []
config = {}
env = None
classmethod setup(config, known_images)[source]
classmethod setup_filters()[source]
classmethod setup_apt_install()[source]
classmethod setup_apt_remove()[source]
docker_pkg.dockerfile.from_template(path, name)[source]