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
9 lines (8 loc) • 371 B
TypeScript
import type { AtomicStep, Container } from "../container";
export interface RunOptions {
beforeRun?: (container: Container, command: string[]) => void | string[] | Promise<void | string[]>;
buildahArgs?: string[];
buildahArgsNoHash?: string[];
extraHashData?: string[];
}
export declare const run: (command: string[], options?: RunOptions) => AtomicStep;