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
17 lines (16 loc) • 894 B
TypeScript
import type { Writable } from "stream";
import type { AtomicStep, ImageOrContainer } from "../container";
import type { ContainerCache } from "../containerCache";
import { type VeritySetupOptions } from "./dmverity/veritysetup";
export interface MksquashfsOptions {
inputFolder: string;
outputFile: string;
timestamp?: string | number;
veritySetup?: Omit<VeritySetupOptions, "file">;
squashfsToolsSource?: ImageOrContainer;
containerCache?: ContainerCache;
apkCache?: string;
logger?: Writable;
}
export declare const mksquashfs: ({ inputFolder, squashfsToolsSource, outputFile, timestamp, veritySetup: veritySetupOptions, containerCache, apkCache, logger, }: MksquashfsOptions) => Promise<void>;
export declare const mksquashfsStep: ({ inputFolder: inputFolderInContainer, outputFile: outputFileInContainer, ...otherOptions }: MksquashfsOptions) => AtomicStep;