Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
Daniel J Walsh
2022-05-04 13:23:33 -04:00
parent bdaac4b2b6
commit ed159f864d
41 changed files with 848 additions and 491 deletions

View File

@@ -123,6 +123,10 @@ type BuildOptions struct {
Args map[string]string
// Name of the image to write to.
Output string
// BuildOutput specifies if any custom build output is selected for following build.
// It allows end user to export recently built rootfs into a directory or tar.
// See the documentation of 'buildah build --output' for the details of the format.
BuildOutput string
// Additional tags to add to the image that we write, if we know of a
// way to add them.
AdditionalTags []string
@@ -256,4 +260,14 @@ type BuildOptions struct {
AllPlatforms bool
// UnsetEnvs is a list of environments to not add to final image.
UnsetEnvs []string
// Envs is a list of environment variables to set in the final image.
Envs []string
// OSFeatures specifies operating system features the image requires.
// It is typically only set when the OS is "windows".
OSFeatures []string
// OSVersion specifies the exact operating system version the image
// requires. It is typically only set when the OS is "windows". Any
// value set in a base image will be preserved, so this does not
// frequently need to be set.
OSVersion string
}