-
Notifications
You must be signed in to change notification settings - Fork 27
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 :(docs): changed env PODMAN_BIN to CONTAINER_TOOL #305
Changes from all commits
5b94681
326743a
b2c1761
38fce9a
8ecf097
f921c51
41f7d4d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
### Running kantra | ||
|
||
Two environment variables control the container runtime and the kantra image: `PODMAN_BIN` and `RUNNER_IMG`: | ||
- `PODMAN_BIN`: path to your container runtime (podman or docker) | ||
Two environment variables control the container runtime and the kantra image: `CONTAINER_TOOL` and `RUNNER_IMG`: | ||
- `CONTAINER_TOOL`: path to your container runtime (podman or docker) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: container tool not container runtime. Container Runtimes are actually different things https://kubernetes.io/docs/setup/production-environment/container-runtimes/ and in this case we don't work with most container runtimes we work with a container tool which is IMO something different. We can fix this on a follow up though There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks for the review @shawn-hurley! @eemcmullan do let me know if this PR needs any more changes |
||
- `RUNNER_IMG`: the tag of the kantra image to invoke | ||
|
||
#### example: | ||
|
||
`podman build -f Dockerfile -t kantra:dev` | ||
|
||
`RUNNER_IMG=kantra:dev PODMAN_BIN=/usr/local/bin/podman go run main.go analyze --input=<path-to-src-application> --output=./output` | ||
`RUNNER_IMG=kantra:dev CONTAINER_TOOL=/usr/local/bin/podman go run main.go analyze --input=<path-to-src-application> --output=./output` | ||
|
||
#### Helpful flags: | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI is failing because this field will need to also be updated where it is being accessed in the rest of the project. This will be where the different commands run. Please let me know if you have any questions on it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure, Any particular directory this should be pointing to as default?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As of the latest changes I removed the default path.