To build, run and test the tomcat/sample.war docker container, please follow these steps:
-
git clone this repository
-
go into the project folder and run the following command: curl --output sample.war https://tomcat.apache.org/tomcat-9.0-doc/appdev/sample/sample.war
-
pip install 'docker-py>=1.7.0'
-
pip install 'docker-compose>=1.7.0'
-
run ansible-playbook against the file: ansi_tomcat_sample.yaml