mirror of
https://github.com/containers/podman.git
synced 2025-12-01 10:38:05 +08:00
Update to runc main, removing pin to an older version
We were pinned to a specific commit to ensure that tests kept passing. Hopefully they pass now, as we need to grab latest runc for CVE fixes. Also grab Buildah main to fix a build issue on FreeBSD. After a botched manual vendor, I used Ed's treadmill script and squashed it into this commit to make Git happy. Thanks bunches Ed. Signed-off-by: Matt Heon <mheon@redhat.com>
This commit is contained in:
3
vendor/github.com/containers/buildah/define/build.go
generated
vendored
3
vendor/github.com/containers/buildah/define/build.go
generated
vendored
@@ -333,4 +333,7 @@ type BuildOptions struct {
|
||||
// value set in a base image will be preserved, so this does not
|
||||
// frequently need to be set.
|
||||
OSVersion string
|
||||
// SBOMScanOptions encapsulates options which control whether or not we
|
||||
// run scanners on the rootfs that we're about to commit, and how.
|
||||
SBOMScanOptions []SBOMScanOptions
|
||||
}
|
||||
|
||||
40
vendor/github.com/containers/buildah/define/types.go
generated
vendored
40
vendor/github.com/containers/buildah/define/types.go
generated
vendored
@@ -29,7 +29,7 @@ const (
|
||||
// identify working containers.
|
||||
Package = "buildah"
|
||||
// Version for the Package. Also used by .packit.sh for Packit builds.
|
||||
Version = "1.33.2-dev"
|
||||
Version = "1.34.1-dev"
|
||||
|
||||
// DefaultRuntime if containers.conf fails.
|
||||
DefaultRuntime = "runc"
|
||||
@@ -121,7 +121,7 @@ type ConfidentialWorkloadOptions struct {
|
||||
AttestationURL string
|
||||
CPUs int
|
||||
Memory int
|
||||
TempDir string
|
||||
TempDir string // used for the temporary plaintext copy of the disk image
|
||||
TeeType TeeType
|
||||
IgnoreAttestationErrors bool
|
||||
WorkloadID string
|
||||
@@ -130,6 +130,42 @@ type ConfidentialWorkloadOptions struct {
|
||||
FirmwareLibrary string
|
||||
}
|
||||
|
||||
// SBOMMergeStrategy tells us how to merge multiple SBOM documents into one.
|
||||
type SBOMMergeStrategy string
|
||||
|
||||
const (
|
||||
// SBOMMergeStrategyCat literally concatenates the documents.
|
||||
SBOMMergeStrategyCat SBOMMergeStrategy = "cat"
|
||||
// SBOMMergeStrategyCycloneDXByComponentNameAndVersion adds components
|
||||
// from the second document to the first, so long as they have a
|
||||
// name+version combination which is not already present in the
|
||||
// components array.
|
||||
SBOMMergeStrategyCycloneDXByComponentNameAndVersion SBOMMergeStrategy = "merge-cyclonedx-by-component-name-and-version"
|
||||
// SBOMMergeStrategySPDXByPackageNameAndVersionInfo adds packages from
|
||||
// the second document to the first, so long as they have a
|
||||
// name+versionInfo combination which is not already present in the
|
||||
// first document's packages array, and adds hasExtractedLicensingInfos
|
||||
// items from the second document to the first, so long as they include
|
||||
// a licenseId value which is not already present in the first
|
||||
// document's hasExtractedLicensingInfos array.
|
||||
SBOMMergeStrategySPDXByPackageNameAndVersionInfo SBOMMergeStrategy = "merge-spdx-by-package-name-and-versioninfo"
|
||||
)
|
||||
|
||||
// SBOMScanOptions encapsulates options which control whether or not we run a
|
||||
// scanner on the rootfs that we're about to commit, and how.
|
||||
type SBOMScanOptions struct {
|
||||
Type []string // a shorthand name for a defined group of these options
|
||||
Image string // the scanner image to use
|
||||
PullPolicy PullPolicy // how to get the scanner image
|
||||
Commands []string // one or more commands to invoke for the image rootfs or ContextDir locations
|
||||
ContextDir []string // one or more "source" directory locations
|
||||
SBOMOutput string // where to save SBOM scanner output outside of the image (i.e., the local filesystem)
|
||||
PURLOutput string // where to save PURL list outside of the image (i.e., the local filesystem)
|
||||
ImageSBOMOutput string // where to save SBOM scanner output in the image
|
||||
ImagePURLOutput string // where to save PURL list in the image
|
||||
MergeStrategy SBOMMergeStrategy // how to merge the outputs of multiple scans
|
||||
}
|
||||
|
||||
// TempDirForURL checks if the passed-in string looks like a URL or -. If it is,
|
||||
// TempDirForURL creates a temporary directory, arranges for its contents to be
|
||||
// the contents of that URL, and returns the temporary directory's path, along
|
||||
|
||||
Reference in New Issue
Block a user