-
Notifications
You must be signed in to change notification settings - Fork 580
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Intermittent binary listings, different results every time #2035
Comments
Thanks for the report @aptalca. I've been able to reproduce this on the latest Syft (same as you indicated: 0.87.0) |
It's been causing havoc for our ci, which commits the package list to our repo and triggers another build. It's been looping all morning 😅 |
Sorry for the inconvenience! This should be fixed now in the latest release: https://github.com/anchore/syft/releases/tag/v0.87.1 |
What happened:
When I run syft multiple times on the same docker image, I get a different list every time because the
binary
results change every time.What you expected to happen:
I expect to get the same results every time.
Steps to reproduce the issue:
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock:ro ghcr.io/anchore/syft:latest ghcr.io/linuxserver/mastodon:glitch | grep binary
Run this back to back after pulling
ghcr.io/linuxserver/mastodon:glitch
Anything else we need to know?:
The binaries for
node
,nginx
,php-cli
andphp-fpm
are intermittently included in the list.The first run results in:
Second run results in:
Third run results in:
You can see the binaries listed change every time even though it's the same image that's being scanned.
Environment:
syft version
: Latest syft docker imagecat /etc/os-release
or similar):Ubuntu Jammy
The text was updated successfully, but these errors were encountered: