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

14 lines (13 loc) 655 B
import type { Writable } from "stream"; import type { AtomicStep, ImageOrContainer } from "../../container"; import type { ContainerCache } from "../../containerCache"; export interface GrubMkenvOptions { outputFile: string; variables?: string[]; grubSource?: ImageOrContainer; containerCache?: ContainerCache; apkCache?: string; logger?: Writable; } export declare const grubMkenv: ({ outputFile, variables, grubSource, containerCache, apkCache, logger, }: GrubMkenvOptions) => Promise<void>; export declare const grubMkenvStep: ({ outputFile: outputFileInContainer, variables, ...otherOptions }: GrubMkenvOptions) => AtomicStep;