Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
Signed-off-by: Emily McMullan <[email protected]>
  • Loading branch information
eemcmullan committed Oct 2, 2024
1 parent 4037397 commit 867991c
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions docs/containerless.md
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>
```

0 comments on commit 867991c

Please sign in to comment.