Skip to content
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

use CURDIR instead of PWD for call to mount config into syft #3156

Merged
merged 1 commit into from
Apr 18, 2023

Conversation

deitch
Copy link
Contributor

@deitch deitch commented Apr 18, 2023

It was mounting via -v $(PWD)/.syft.yaml:/syft.yaml:ro, which didn't work as it was the wrong directory, causing builds to fail. As @eriknordmark pointed out, we tend to use $(CURDIR) for that purpose elsewhere in the Makefile, and it works.

Signed-off-by: Avi Deitcher <avi@deitcher.net>
@deitch deitch requested review from eriknordmark and rvs as code owners April 18, 2023 06:25
Copy link
Contributor

@eriknordmark eriknordmark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@eriknordmark eriknordmark merged commit 22545e3 into lf-edge:master Apr 18, 2023
@deitch deitch deleted the fix-syft-call-mount branch April 18, 2023 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants