Layerfile Reference
Multiple build steps: The Layerfile graph
Layerfiles can be composed, inherited from, and split into complex CI workflows.
Consider these three Layerfiles:
1. Layerfile at (repo root)/Layerfile
Layerfile
2. Layerfile at (repo root)/web/tests/Layerfile
Layerfile
3. Layerfile at (repo root)/web/Layerfile
Layerfile
When built, these three Layerfiles will automatically combine into a build graph:
Here, webapp.io has searched for files named ‘Layerfile’, discovered all three of these files, and linked them based on their parents (by their FROM lines)
There are many directives which can change the Layerfile graph, see SPLIT
,
BUTTON
, and WAIT
below for some examples.