pub mod dockerfile;
#[cfg(any(
all(target_os = "macos", target_arch = "aarch64"),
all(target_os = "linux", target_arch = "x86_64")
))]
pub mod executor;
#[cfg(any(
all(target_os = "macos", target_arch = "aarch64"),
all(target_os = "linux", target_arch = "x86_64")
))]
mod fetch;
#[cfg(any(
all(target_os = "macos", target_arch = "aarch64"),
all(target_os = "linux", target_arch = "x86_64")
))]
mod subst;
pub use dockerfile::{parse, Dockerfile, Instruction, ShellOrExec, Stage};
#[cfg(all(target_os = "macos", target_arch = "aarch64"))]
pub use executor::{
build_linear, commit_squashfs, export_oci, BuildOutcome, Builder, CommitOutcome, ImageConfig,
OciExportOutcome,
};
#[cfg(all(target_os = "linux", target_arch = "x86_64"))]
pub use executor::{
build_linear, commit_kvm_bootable, commit_squashfs, export_oci, BuildOutcome, Builder,
CommitOutcome, ImageConfig, OciExportOutcome,
};