UNPKG

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

21 lines (20 loc) 690 B
import type { Writable } from "stream"; import { type ImageOrContainer } from "../../container"; import type { ContainerCache } from "../../containerCache"; export interface VerityMetadata { uuid?: string; rootHash: string; hashOffset: number; fecOffset: number; } export interface VeritySetupOptions { file: string; metadataFile?: string; salt?: string; uuid?: string; cryptsetupSource?: ImageOrContainer; containerCache?: ContainerCache; apkCache?: string; logger?: Writable; } export declare const veritySetup: ({ file, metadataFile, salt, uuid, cryptsetupSource, containerCache, apkCache, logger, }: VeritySetupOptions) => Promise<void>;