Module tvix_build::oci::bundle
source Β· Expand description
Module to create an OCI runtime bundle for a given BuildRequest.
Functions§
- For a given list of mountpoints (sorted) and a search_path, find the specific mountpoint parenting that search_path and return it, as well as the relative path from there to the search_path. mountpoints must be sorted, so we can iterate over the list from the back and match on the prefix.
- Determine the path of all outputs specified in a BuildRequest as seen from the host, for post-build ingestion. This lookup needs to take scratch paths into consideration, as the build root is not writable on its own. If a path canβt be determined, an error is returned.
- make_
bundle πProduce an OCI bundle in a given path. Check [make_spec] for a description about the paths produced.