$ docker run -p 8080:8080 bcanvural/hippo-docker:latest
With persistance:
$ docker run -p 8080:8080 -v repo:/usr/local/tomcat/repository bcanvural/hippo-docker
Deploys hippo cms/site to a docker container
- Build:
$ mvn clean verify && mvn -P dist && mvn -P docker.build
Make sure you have public docker repo avaiable: https://cloud.docker.com/
Relevant properties:
<docker.image.prefix>bcanvural</docker.image.prefix>
<docker.image.tagname>latest</docker.image.tagname>
Activate profile:
$ mvn -P docker.push