-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b4a3124
commit 9b91133
Showing
1 changed file
with
6 additions
and
15 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,35 +1,26 @@ | ||
# Kex dockerfile | ||
Docker images for [Kex](https://github.com/vorpal-research/kex). | ||
|
||
Repository contains build for two containers: | ||
* `abdullin/kex-standalone:test` --- image for building Kex and running its tests | ||
|
||
* `abdullin/kex-standalone:run` --- image for building and running Kex | ||
Repository providea an image for running Kex: `abdullin/kex-standalone:$version`, where `$version` is required version of Kex. | ||
|
||
Currently latest release is version `0.0.1`. | ||
|
||
## Build | ||
|
||
```make | ||
make test # building test image | ||
make run # building run image | ||
make | ||
``` | ||
|
||
|
||
## Usage | ||
|
||
Images are available at [Docker Hub](https://hub.docker.com/repository/docker/abdullin/kex-standalone/general): | ||
Image is available at [Docker Hub](https://hub.docker.com/repository/docker/abdullin/kex-standalone/general): | ||
|
||
```bash | ||
docker pull abdullin/kex-standalone:test | ||
docker pull abdullin/kex-standalone:run | ||
``` | ||
|
||
Run tests: | ||
``` | ||
docker run abdullin/kex-standalone:test | ||
docker pull abdullin/kex-standalone:$version | ||
``` | ||
|
||
Run Kex on a custom project: | ||
``` | ||
docker run -v ~/myproject:/home/myproject -v ~/kex-output:/home/kex-output abdullin/kex-standalone:run --classpath /home/myproject/target/myproject.jar --target myproject.\* --output /home/kex-output | ||
docker run -v ~/myproject:/home/myproject -v ~/kex-output:/home/kex-output abdullin/kex-standalone:$version --classpath /home/myproject/target/myproject.jar --target myproject.\* --output /home/kex-output | ||
``` |