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

fix(tools): Load tool configs for docker #84

Merged
merged 6 commits into from Oct 30, 2023
Merged

Conversation

viega
Copy link
Contributor

@viega viega commented Oct 30, 2023

Issue

Closes #82

Description

Internal tool configs now always load (they were not loading for all commands). But this is the right choice since the entire startup config is going to end up cached soon anyway.

I also removed the runs_once notion. In the case of Docker, tools in the host bass will see '.'; the second time it will see the container name. Might want to provide access to context info in the future.

Testing

Check at the end of a docker build run to see that the tools loaded.

…e importantly, the config load wasn't running for all commands, and the test for which commands to load it on was wrong; docker wasn't on the list. I removed the test, because this is going to get cached anyway before too long.
@viega viega marked this pull request as ready for review October 30, 2023 13:34
@viega viega changed the title Jtv/toolsonly fix(tools): Load tool configs for docker Oct 30, 2023
@indecisivedragon indecisivedragon merged commit 0d9ff40 into main Oct 30, 2023
2 checks passed
@indecisivedragon indecisivedragon deleted the jtv/toolsonly branch October 30, 2023 14:46
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.

bug: chalked docker builds are not running syft
2 participants