generated from konveyor-ecosystem/template-repo
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Emily McMullan <[email protected]>
- Loading branch information
1 parent
4037397
commit 867991c
Showing
1 changed file
with
13 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,25 @@ | ||
## Test and Run Containerless Kantra | ||
# Run Containerless Kantra | ||
|
||
### Clone the requirements: | ||
Have OpenJDK 17+ and Maven installed | ||
|
||
## Download kantra and requirements: | ||
|
||
Download appropriate zip for your OS [here](https://github.com/konveyor/kantra/releases/tag/v0.6.0-alpha.1) | ||
|
||
## Move kantra binary to your $PATH: | ||
|
||
```sh | ||
git clone https://github.com/eemcmullan/containerless-kantra-deps.git | ||
mv $HOME/kantra.<os>.<arch>/<os>-kantra /usr/bin | ||
``` | ||
|
||
## Move them to where kantra will look for packged binaries and default rulesets: | ||
### Move requirements to kantra known location: | ||
|
||
```sh | ||
mv $HOME/containerless-kantra-deps $HOME/.kantra | ||
mv $HOME/kantra.<os>.<arch> $HOME/.kantra | ||
``` | ||
|
||
### From kantra, run: | ||
## Run analysis: | ||
|
||
```sh | ||
go run main.go analyze-bin --input <java-app> --output <output-dir> --rules <java-rules> | ||
kantra analyze-bin --input <java-app> --output <output-dir> --rules <java-rules> | ||
``` |