generated from konveyor-ecosystem/template-repo
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update containerless docs & reqs (#381)
update containerless docs Signed-off-by: Emily McMullan <[email protected]>
- Loading branch information
1 parent
dd94c3b
commit b288596
Showing
3 changed files
with
43 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,30 @@ | ||
# Run Containerless Kantra | ||
|
||
Have OpenJDK 17+ and Maven installed | ||
Have OpenJDK 17+, Maven, and python3 installed | ||
|
||
Have $JAVA_HOME set. | ||
|
||
## Download kantra and requirements: | ||
|
||
Download appropriate zip for your OS [here](https://github.com/konveyor/kantra/releases/tag/v0.6.0-alpha.1) | ||
Download appropriate zip for your OS [here](https://github.com/konveyor/kantra/releases/tag/v0.6.0-alpha.2) | ||
|
||
## Move kantra binary to your $PATH: | ||
|
||
```sh | ||
mv $HOME/kantra.<os>.<arch>/<os>-kantra /usr/bin | ||
``` | ||
|
||
### Move requirements to kantra known location: | ||
### Move requirements to kantra known location, or run kantra from the current directory: | ||
*Note:* kantra will first look for these requirements in the current dir, and fall back to the path below. | ||
|
||
|
||
```sh | ||
mv $HOME/kantra.<os>.<arch> $HOME/.kantra | ||
``` | ||
|
||
## Run analysis: | ||
Kantra will default to running containerless analysis. To run analysis in containers, use the `--run-local=false` option. | ||
|
||
```sh | ||
kantra analyze-bin --input <java-app> --output <output-dir> --rules <java-rules> | ||
kantra analyze --input <java-app> --output <output-dir> --rules <java-rules> | ||
``` |