This Confluence has been LDAP enabled, if you are an ASF Committer, please use your LDAP Credentials to login. Any problems file an INFRA jira ticket please.

Child pages
  • Docker image
Skip to end of metadata
Go to start of metadata

Docker image for Apache Ignite allows to simplify downloading Ignite distibutive, deploing users' code and configure nodes. Container doing 3 steps on starting:

  1. Download Ignite distributive.
  2. Build and delpoy users' libs.
  3. Start node.

First step

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:

NameDescriptionDefaultExample
IGNITE_URL

The url to Ignite distributive which will be run.

N/A

http://apache-mirror.rbc.ru/pub/apache/incubator/ignite/1.1.0/
apache-ignite-fabric-1.1.0-incubating-bin.zip

IGNITE_VERSION

The version ignite which will be run on nodes.

latest

1.1.4

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/Atrue

Second step

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:

 

NameDescriptionDefaultExample
GIT_REPO

The url to git repository which will be built.

N/A

https://github.com/bob/ignite-pojo
GIT_BRANCH

The branch which which will be built.

master

sprint-1

BUILD_CMD

The command which will be building project.

mvn clean package
make && install
SKIP_BUILD_LIBS
Users libs will not be built.N/Atrue

Third step

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:

NameDescriptionDefaultExample
LIB_PATTERN

If it's set then will copy only files which match by pattern.

copy all jar files from target folder

libs/.*
OPTION_LIBS

Ignite optional libs which will be include in classpath.

N/A

ignite-aws,ignite-aop

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/Ajava -jar target/IgniteNode.jar
  • No labels