Skip to content

Conversation

@willmurphyscode
Copy link
Contributor

Previously, tools were always called by docker run --pull always ..., making it difficult to configure the tools to use a local build. However, during local development, seeing how change to local tool output affect docs is a key capability. Therefore, enable setting _LOCAL_PATH to force invocation of local tool checkouts.

This is a better approach than #65 (which should be closed if we merge this). Thanks @kzantow for the suggestion.

Usage:

export SYFT_LOCAL_PATH=../syft
export GRYPE_LOCAL_PATH=../grype
export GRANT_LOCAL_PATH=../grant
task generate

Previously, tools were always called by `docker run --pull always ...`,
making it difficult to configure the tools to use a local build.
However, during local development, seeing how change to local tool
output affect docs is a key capability. Therefore, enable setting
<TOOL>_LOCAL_PATH to force invocation of local tool checkouts.

Signed-off-by: Will Murphy <[email protected]>
@willmurphyscode willmurphyscode changed the title allow local too invocation allow local tool invocation Nov 26, 2025
@cloudflare-workers-and-pages
Copy link

Deploying oss-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: d20d613
Status: ✅  Deploy successful!
Preview URL: https://38f09b77.oss-docs.pages.dev
Branch Preview URL: https://dev-local-syft.oss-docs.pages.dev

View logs

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