commit | 34cdc500b16d806c4214b889309915033b86f615 | [log] [tgz] |
---|---|---|
author | Thomas Bouron <thomas.bouron@cloudsoftcorp.com> | Thu Nov 16 14:07:47 2017 +0000 |
committer | Thomas Bouron <thomas.bouron@cloudsoftcorp.com> | Thu Nov 16 14:07:47 2017 +0000 |
tree | 1daf29eac79dede62295abddccec119d2530e59a | |
parent | 06f602c1fbedc986a3deff31f1fcbdcdcf8d0782 [diff] |
Add dockerfile for CI build
This sub-project contains various entities not needed for Brooklyn, but useful in practice as building blocks, including entities for webapps, datastores, and more.
2 methods are available to build this project: within a docker container or directly with maven.
The project comes with a Dockerfile
that contains everything you need to build this project. First, build the docker image:
docker build -t brooklyn:library .
Then run the build:
docker run -i --rm --name brooklyn-library -v ${HOME}/.m2:/root/.m2 -v ${PWD}:/usr/build -w /usr/build brooklyn:library mvn clean install
Simply run:
mvn clean install