Docker image for Apache Ignite allows to simplify downloading Ignite distibutive, deploing users' code and configure nodes. Container doing 3 steps on starting:
On this step docker container downloads an Ignite distributive by wget. By default container is downloading latest community edition build because it contains the last feature and bug fixes. This step can be skipped, for this need set SKIP_DOWNLOAD
environment variable. User can set the following parametrs:
Name | Description | Default | Example |
---|---|---|---|
IGNITE_URL | The url to Ignite distributive which will be run. |
| http://apache-mirror.rbc.ru/pub/apache/incubator/ignite/1.1.0/ apache-ignite-fabric-1.1.0-incubating-bin.zip |
| The version ignite which will be run on nodes. |
|
|
IGNITE_SOURCE | The ignite edition which will be downloaded. This parameter ignored, if IGNITE_VERSION is set. | COMMUNITY | APACHE |
SKIP_DOWNLOAD | Ignite distributive will not be downloaded. | N/A | true |
On this step building users project: clone git repository, switch to requried branch and build project. This step can be skipped, for this need set SKIP_BUILD_LIBS
environment variable. User can set the following parametrs:
Name | Description | Default | Example |
---|---|---|---|
GIT_REPO | The url to git repository which will be built. |
| https://github.com/bob/ignite-pojo |
GIT_BRANCH | The branch which which will be built. |
|
|
BUILD_CMD | The command which will be building project. | mvn clean package | make && install |
SKIP_BUILD_LIBS | Users libs will not be built. | N/A | true |
On this step copy users libs and ignite optional libs (for example ignite-aop, ignite-aws and etc.), download ignite configuration file and start ignite. User can set the following parametrs:
Name | Description | Default | Example |
---|---|---|---|
LIB_PATTERN | If it's set then will copy only files which match by pattern. |
| libs/.* |
OPTION_LIBS | Ignite optional libs which will be include in classpath. |
|
|
IGNITE_CONFIG | The url to config file or relativity path by META-INF. Downloaded config file will be saved to ./ignite-config.xml | N/A | https://raw.githubusercontent.com/bob/master/ignite-cfg.xml |
EXEC_CMD | The command which will be user for running application. | N/A | java -jar target/IgniteNode.jar |