fix: only skip tmpfs mounts for some paths (#2918)

* fix: only skip tmpfs mounts for some paths

Signed-off-by: Will Murphy <will.murphy@anchore.com>

* refactor and add tests

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

* add regression test for archive processing

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

* bump to golang 1.22

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

* remove rule 1 and add more tests

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

---------

Signed-off-by: Will Murphy <will.murphy@anchore.com>
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
Co-authored-by: Alex Goodman <wagoodman@users.noreply.github.com>
This commit is contained in:
William Murphy
2024-06-04 15:21:45 -04:00
committed by GitHub
co-authored by Alex Goodman
parent cb09dd9e19
commit 557ad73ee6
10 changed files with 669 additions and 199 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
module github.com/anchore/syft
go 1.21.0
go 1.22.0
require (
github.com/CycloneDX/cyclonedx-go v0.8.0