Overview
The Metron ansible-docker container is provided in an effort reduce the installation burden of deploying Metron in a live envirionment. It is provisioned with software required to sucessfully run the deployment scripts.
Building the Container
- Install Docker [https://www.docker.com/products/overview]
- Navigate to <project-directory>/metron-deployment/packaging/docker/ansible-docker
- Build the container docker build -t ansible-docker:2.0.0.2 .
Using the Container
Full instructions are found on the wiki [https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=65144361].
tl;dr
- docker run -it -v <project-directory>:/root/incubator-metron ansible-docker:2.0.0.2 bash
- cd /root/incubator-metron
- mvn clean package -DskipTests