buildImage
Function: buildImage()
buildImage(
path,entries,options):Promise<BuiltImage>
Defined in: packages/oci/src/image.ts:349
Build an image from files, without a container engine
The files become one layer on top of the base image layers, the base configuration gets the new entrypoint, command, environment, labels and working directory.
Parameters
path
string
folder of the OCI layout to write
entries
TarEntry[]
files of the layer, with their absolute path in the image (without leading /)
options
the build options
Returns
Promise<BuiltImage>
the built image