buildahcker
Version:
Buildahcker is a node.js library to create and run commands in OCI (Open Container Initiative) container images (or docker images), based on Buildah and a hash-based cache. It also contains utilities to easily create a partitioned bootable disk image of a
18 lines (17 loc) • 865 B
TypeScript
import type { Writable } from "stream";
import type { ImageOrContainer } from "../../container";
import type { ContainerCache } from "../../containerCache";
import type { FileInImage } from "../../fileInImage";
export interface ABPartitionsRootPartitionOptions {
kernelCmdline?: string;
rootPartitionGrubCfg?: string;
sourceRootImage: string;
sourceRootInitrdPath?: string;
sourceRootKernelPath?: string;
squashfsToolsSource?: ImageOrContainer;
updateToolPath?: string;
apkCache?: string;
containerCache?: ContainerCache;
logger?: Writable;
}
export declare const abpartitionsRootPartition: ({ kernelCmdline, rootPartitionGrubCfg, sourceRootImage, sourceRootInitrdPath, sourceRootKernelPath, squashfsToolsSource, updateToolPath, apkCache, containerCache, logger, }: ABPartitionsRootPartitionOptions) => Promise<FileInImage>;