Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // RetrieveRemoteImage downloads an image from a remote location RetrieveRemoteImage = remote.RetrieveRemoteImage EmptyBaseImage v1.Image = func() v1.Image { image := empty.Image if config.EnvBool("FF_KANIKO_OCI_SCRATCH_BASE") { image = mutate.ConfigMediaType( mutate.MediaType(image, types.OCIManifestSchema1), types.OCIConfigJSON, ) } return image }() )
Functions ¶
func RetrieveSourceImage ¶
func RetrieveSourceImage(stage config.KanikoStage, opts *config.KanikoOptions) (v1.Image, error)
RetrieveSourceImage returns the base image of the stage at index
func RetrieveSourceImageInternal ¶ added in v1.26.5
func RetrieveSourceImageInternal(baseName string, baseImageStoredLocally bool, baseImageIndex int, metaArgs []instructions.ArgCommand, opts *config.KanikoOptions) (v1.Image, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.