Expand description
Module to create a OCI runtime spec for a given BuildRequest.
EnumsΒ§
FunctionsΒ§
- configure_
linux π - Return the Linux part of the OCI Runtime spec. This configures various namespaces, masked and read-only paths.
- configure_
mount π - Helper function to produce a mount.
- configure_
mounts π - Return the Mounts part of the OCI Runtime spec. It first sets up the standard mounts, then scratch paths, bind mounts for all inputs, and finally read-only paths from the hosts.
- configure_
process π - Return the Process part of the OCI Runtime spec. This configures the command, itβs working dir, env and terminal setup. It also takes care of setting rlimits and capabilities. Capabilities are a bit more complicated in case rootless building is requested.
- make_
spec π - For a given BuildRequest, return an OCI runtime spec.