commit | 10953eed4902b30362be68a4e8edaf3a46ba0d0a | [log] [tgz] |
---|---|---|
author | Thomas Bouron <tbouron@gmail.com> | Tue Dec 10 11:27:54 2019 +0000 |
committer | GitHub <noreply@github.com> | Tue Dec 10 11:27:54 2019 +0000 |
tree | 896833212ca4ed275bff6cdb6a63e960030b1e31 | |
parent | 4a2193b8cabecef9f6e67f4f7fae2755067ac80b [diff] | |
parent | e929289f95ebd7da17fa27f5945b8138f0c08435 [diff] |
Merge pull request #147 from tbouron/tbouron-patch-1 Reuse local maven cache + add PR comment trigger
This repo contains modules for creating the distributable binary combining the server
, the ui
, and other elements in other Brooklyn repos.
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:dist .
Then run the build:
docker run -i --rm --name brooklyn-dist -v /var/run/docker.sock:/var/run/docker.sock -v ${HOME}/.m2:/root/.m2 -v ${PWD}:/usr/build -w /usr/build brooklyn:dist mvn clean install
Simply run:
mvn clean install