Skip to content
Snippets Groups Projects
  • Michal (inc0) Jastrzebski's avatar
    51074b0a
    Mechanism for Dockerfile customization · 51074b0a
    Michal (inc0) Jastrzebski authored
    This patchset enables potentially full customization of Dockerfiles
    provided by Kolla without having to change main Kolla code. Mechanism is
    based on jinja2 block mechanism. In our dockerfiles we'll add blocks
    (mostly empty) with highly standarized naming, then in override file
    users will be able to fill/override contents of these blocks. Example is
    shown in this patch.
    To enable cutomized override file call build.py
    
    --template-override=path-to-file Only caveat is that header {% extends
    .. %} has to stay
    
    Change-Id: I5957024e5652f9677c439fb2fcd524e467b951af
    Partially-implements: blueprint third-party-plugin-support
    51074b0a
    History
    Mechanism for Dockerfile customization
    Michal (inc0) Jastrzebski authored
    This patchset enables potentially full customization of Dockerfiles
    provided by Kolla without having to change main Kolla code. Mechanism is
    based on jinja2 block mechanism. In our dockerfiles we'll add blocks
    (mostly empty) with highly standarized naming, then in override file
    users will be able to fill/override contents of these blocks. Example is
    shown in this patch.
    To enable cutomized override file call build.py
    
    --template-override=path-to-file Only caveat is that header {% extends
    .. %} has to stay
    
    Change-Id: I5957024e5652f9677c439fb2fcd524e467b951af
    Partially-implements: blueprint third-party-plugin-support
config.py 12.68 KiB