mirror of
https://github.com/mudler/luet.git
synced 2025-09-13 13:50:26 +00:00
* Fix broken links * A few more broken links Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com> Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
1.3 KiB
1.3 KiB
title, linkTitle, weight, description
title | linkTitle | weight | description |
---|---|---|---|
Collections | Collections | 4 | Group a set of package build spec with templating |
Collections
are a special superset of packages. To define a collection, instead of using a definition.yaml
file, create a collection.yaml
file with a list of packages:
{{}}
Packages under a collection shares the same build.yaml
and finalize.yaml
, so a typical package layout can be:
collection/
collection.yaml
build.yaml
finalize.yaml
... additional files in the build context
Luet during the build phase, will treat packages of a collection individually. A collection is a way to share the same build process across different packages.
Templating
The templating mechanism can be used in collections as well, and each stanza in packages
is used to interpolate each single package.