commit | d6d79c7b4b50b8d9ea51eb5fcfff53a2dc45d2f4 | [log] [tgz] |
---|---|---|
author | Thomas Bouron <thomas.bouron@cloudsoftcorp.com> | Thu Mar 07 16:38:37 2019 +0000 |
committer | Thomas Bouron <thomas.bouron@cloudsoftcorp.com> | Thu Mar 07 16:51:55 2019 +0000 |
tree | 054a09eb1ecad4d2128063e1bba976a29a85b3bc | |
parent | 8fa216ce79ad3bef178bf3f771d094b4b086d10f [diff] |
Make the build of rpm, deb, docker and go cli optional by default
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