Step 1) From the current directory (open-sourced-essim
), run the following command:
mvn clean package
This should create essim.jar
that will be available in the essim-engine\target\
folder and used in the next step.
Step 2) When Step 1 is successfully completed, run the following command to build the docker image from the same directory:
docker build -t [optional-repository/]<name-of-image>[:optional-image-version] essim-engine
Step 3) Done. You may now use this built image in your stack or push it to your favourite repository.
PS: Please take a look at essim-engine/Dockerfile
to see what environment variables need to be defined.
PS: To execute in a non-Docker environment, you can use the jar generated after Step 1:
- Traverse to
essim-engine\target\
and execute using the commandjava -Xms8G -XX:+UseParallelGC -XX:GCTimeRatio=9 -jar essim.jar
. - Also remember to define the environment variables (refer to
essim-engine/Dockerfile
) in your execution environment.