mirror of
https://github.com/containers/podman.git
synced 2025-11-14 18:19:20 +08:00
vendor: bump buildah to v1.26.1-0.20220524184833-5500333c2e06
Bump buildah to v1.26.1-0.20220524184833-5500333c2e06 Signed-off-by: Aditya R <arajan@redhat.com>
This commit is contained in:
19
vendor/github.com/containers/buildah/define/build.go
generated
vendored
19
vendor/github.com/containers/buildah/define/build.go
generated
vendored
@@ -11,6 +11,21 @@ import (
|
||||
"golang.org/x/sync/semaphore"
|
||||
)
|
||||
|
||||
// AdditionalBuildContext contains verbose details about a parsed build context from --build-context
|
||||
type AdditionalBuildContext struct {
|
||||
// Value is the URL of an external tar archive.
|
||||
IsURL bool
|
||||
// Value is the name of an image which may or may not have already been pulled.
|
||||
IsImage bool
|
||||
// Value holds a URL, an image name, or an absolute filesystem path.
|
||||
Value string
|
||||
// Absolute filesystem path to downloaded and exported build context
|
||||
// from external tar archive. This will be populated only if following
|
||||
// buildcontext is created from IsURL and was downloaded before in any
|
||||
// of the RUN step.
|
||||
DownloadedCache string
|
||||
}
|
||||
|
||||
// CommonBuildOptions are resources that can be defined by flags for both buildah from and build
|
||||
type CommonBuildOptions struct {
|
||||
// AddHost is the list of hostnames to add to the build container's /etc/hosts.
|
||||
@@ -121,6 +136,8 @@ type BuildOptions struct {
|
||||
Compression archive.Compression
|
||||
// Arguments which can be interpolated into Dockerfiles
|
||||
Args map[string]string
|
||||
// Map of external additional build contexts
|
||||
AdditionalBuildContexts map[string]*AdditionalBuildContext
|
||||
// Name of the image to write to.
|
||||
Output string
|
||||
// BuildOutput specifies if any custom build output is selected for following build.
|
||||
@@ -187,6 +204,8 @@ type BuildOptions struct {
|
||||
DropCapabilities []string
|
||||
// CommonBuildOpts is *required*.
|
||||
CommonBuildOpts *CommonBuildOptions
|
||||
// CPPFlags are additional arguments to pass to the C Preprocessor (cpp).
|
||||
CPPFlags []string
|
||||
// DefaultMountsFilePath is the file path holding the mounts to be mounted in "host-path:container-path" format
|
||||
DefaultMountsFilePath string
|
||||
// IIDFile tells the builder to write the image ID to the specified file
|
||||
|
||||
Reference in New Issue
Block a user