mirror of
https://github.com/anchore/syft.git
synced 2026-02-14 11:36:42 +01:00
chore: pin fedora image for elf binary test (#3041)
Signed-off-by: Keith Zantow <kzantow@gmail.com>
This commit is contained in:
parent
37245a21cc
commit
278b72d39b
@ -70,8 +70,8 @@ func Test_ELF_Package_Cataloger(t *testing.T) {
|
|||||||
expected: []pkg.Package{
|
expected: []pkg.Package{
|
||||||
{
|
{
|
||||||
Name: "coreutils",
|
Name: "coreutils",
|
||||||
Version: "9.5-1.fc41",
|
Version: "9.5-3.fc41",
|
||||||
PURL: "pkg:rpm/fedora/coreutils@9.5-1.fc41?distro=fedora-40",
|
PURL: "pkg:rpm/fedora/coreutils@9.5-3.fc41?distro=fedora-40",
|
||||||
Locations: file.NewLocationSet(
|
Locations: file.NewLocationSet(
|
||||||
file.NewLocation("/sha256sum").WithAnnotation(pkg.EvidenceAnnotationKey, pkg.PrimaryEvidenceAnnotation),
|
file.NewLocation("/sha256sum").WithAnnotation(pkg.EvidenceAnnotationKey, pkg.PrimaryEvidenceAnnotation),
|
||||||
file.NewLocation("/sha1sum").WithAnnotation(pkg.EvidenceAnnotationKey, pkg.PrimaryEvidenceAnnotation),
|
file.NewLocation("/sha1sum").WithAnnotation(pkg.EvidenceAnnotationKey, pkg.PrimaryEvidenceAnnotation),
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
FROM --platform=linux/amd64 fedora:41 as build
|
FROM --platform=linux/amd64 fedora:41@sha256:c05bf79137835bf5c521c58f8252d6031780ae865a0379ab57f412e0ac6b42aa as build
|
||||||
|
|
||||||
FROM scratch
|
FROM scratch
|
||||||
COPY --from=build /bin/sha256sum /sha256sum
|
COPY --from=build /bin/sha256sum /sha256sum
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user