The Knot.x stack : Knot.x + Vert.x & common dependencies
Enable TRACE level logging on your logback.xml
<logger name="knotx-stack-resolver" level="TRACE"/>-Dknotx.maven.snapshotPolicy=0
To build docker images, you need docker1.3+ and run mvn clean install
It builds the 2 main images :
- knotx base - the base image provisionning the knotx appplication (
knotx/knotx) - knotx base alpine - the base image based on Java alpine image (
knotx/knotx-alpine)
Examples of docker image usages are in https://github.com/Knotx/knotx-example-project/docker
The images can be pushed to Docker Hub. Before, be sure you are in the knotx organisation on docker hub (https://hub.docker.com/u/knotx/). Then, add your credentials into ~/.m2/settings.xml:
<server>
<id>docker-hub</id>
<username>username</username>
<password>password</password>
</server>
Once done, in the knotx-docker project just launch:
mvn docker:push
WARNING: This is going to take a while.....