You can use either of the Dockerfiles - ./docker/Dockerfile
or ./docker/Dockerfile.build
based on your needs.
Uses openjdk-8
and takes BENCHMARK_TARBALL
as an argument.
While using this Dockerfile, you will need to build the project locally first.
#> mvn build
#> export BENCHMARK_TARBALL=package/target/openmessaging-benchmark-<VERSION>-SNAPSHOT-bin.tar.gz
#> docker build --build-arg BENCHMARK_TARBALL . -f docker/Dockerfile
Uses the latest version of maven
in order to build the project, and then use openjdk-8
as runtime.
This Dockerfile has no dependency (you do not need Mavent to be installed locally).
#> docker build . -f docker/Dockerfile.build